This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 [] | |
1 null | |
1 [null, null] | |
1 [2] | |
1 [2, 3] | |
1 [null] | |
1 [null, null] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.io.FileOutputStream; | |
class Hello { | |
int testInfer_NPE() { | |
String s = null; | |
return s.length(); | |
} | |
void testInfer_notClose() throws IOException { | |
FileOutputStream s = new FileOutputStream("output.txt"); |