Name: kaC94536 Date: 11/19/99
The following test crashes Linux VM when JIT is used:
----------------------------- test.java ------------------------
import java.net.*;
public class test {
public static void main(String argv[]) {
try {
new URL(null);
} catch(Exception e) {
}
System.out.println("Ok");
}
}
-------------------------------- output --------------------------
$ java -fullversion
java full version "1.2.2-D"
$ java -Djava.compiler=no test
Ok
$ java -Djava.compiler=javacomp test
Segmentation fault (core dumped)
$
======================================================================
======================================================================
- duplicates
-
JDK-4291433 invocation of String concat(null) crashes VM
-
- Closed
-
-
JDK-4292947 invocation of java.text API method setDecimalFormatSymbols(null)
-
- Closed
-