Sample Program:
public class BugDemo3 {
public static void main(String argv[]) {
}
}
To illustrate this, enter the following commands in jdb:
load BugDemo3
stop in BugDemo3.main
run BugDemo3
list main
java_g.exe terminates with an invalid memory reference.
Our Diagnosis
The crash is occuring in a call to
sun.tools.debug.getMethodLineNumber(). This API seems to be completely
broken.
We have tested this with the 1.1.2 beta JDK of 09APR97. It is still
broken.
public class BugDemo3 {
public static void main(String argv[]) {
}
}
To illustrate this, enter the following commands in jdb:
load BugDemo3
stop in BugDemo3.main
run BugDemo3
list main
java_g.exe terminates with an invalid memory reference.
Our Diagnosis
The crash is occuring in a call to
sun.tools.debug.getMethodLineNumber(). This API seems to be completely
broken.
We have tested this with the 1.1.2 beta JDK of 09APR97. It is still
broken.