[test code attached]
We tried running the same code using JDB provided with JPDA and this was the
output:
D:\JPDA\bin>jdb -classpath c:\temp\awttest\classes
Initializing jdb...
> stop at AWTTest.Test.AWTFrame:25
Deferring breakpoint AWTTest.Test.AWTFrame:25.
It will be set after the class is loaded.
> run AWTTest.Test.AWTFrame
run AWTTest.Test.AWTFrame
>
VM Started: Unable to set deferred breakpoint AWTTest.Test.AWTFrame:25 : No
code
at line 25 in AWTTest.Test.AWTFrame
Stopping due to deferred breakpoint errors.
No frames on the current call stack
main[1]
We tried running the same code using JDB provided with JPDA and this was the
output:
D:\JPDA\bin>jdb -classpath c:\temp\awttest\classes
Initializing jdb...
> stop at AWTTest.Test.AWTFrame:25
Deferring breakpoint AWTTest.Test.AWTFrame:25.
It will be set after the class is loaded.
> run AWTTest.Test.AWTFrame
run AWTTest.Test.AWTFrame
>
VM Started: Unable to set deferred breakpoint AWTTest.Test.AWTFrame:25 : No
code
at line 25 in AWTTest.Test.AWTFrame
Stopping due to deferred breakpoint errors.
No frames on the current call stack
main[1]
- relates to
-
JDK-4368402 JDWP: classesByName reports class that hasn't been prepared
-
- Closed
-