Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Jeff "never puts away anything, especially oven mitts" Cliff, Bringer of Nightmares 🏴☠️🦝🐙 🇱🇧🧯 🇨🇦🐧 (jeffcliff@shitposter.world)'s status on Monday, 20-Jan-2025 03:49:51 JSTJeff "never puts away anything, especially oven mitts" Cliff, Bringer of Nightmares 🏴☠️🦝🐙 🇱🇧🧯 🇨🇦🐧 figured out where my bootstrapping-ant problem is
# cat HangTest.java
import java.io.File;
import java.io.IOException;
class HangTest {
public static void main(String[] args) {
System.out.println("it should hang here:");
try {
File result = File.createTempFile("pre","suf");
}
catch (IOException ioe) { /** not gonna happen */ }
System.out.println("did it?");
}
}
#javac HangTest.java
(some warnings here)
#java HangTest
what should the output be?