[debuggee] Listening for transport dt_socket at address: 56849
[jdb] Set uncaught java.lang.Throwable
[jdb] Set deferred uncaught java.lang.Throwable
[jdb] Initializing jdb ...
[jdb]
[jdb] VM Started: > No frames on the current call stack
[jdb]
[jdb] main[1]
> stop at RedefineGTarg:59
[jdb] Deferring breakpoint RedefineGTarg:59.
[jdb] It will be set after the class is loaded.
[jdb] main[1]
> run
[debuggee] m1(String) called
[jdb] > Set deferred breakpoint RedefineGTarg:59
[jdb]
[jdb] Breakpoint hit: "thread=main", RedefineGTarg.m1(), line=59 bci=2
[jdb] 59 System.out.println("m2" + p1 + p2); // @1 breakpoint
[jdb]
[jdb] main[1]
> where
[jdb] [1] RedefineGTarg.m1 (RedefineG.java:59)
[jdb] [2] RedefineGTarg.m1 (RedefineG.java:53)
[jdb] [3] RedefineGTarg.main (RedefineG.java:47)
[jdb] main[1]
> locals
[jdb] Local variable information not available. Compile with -g to generate variable information
[jdb] main[1]
> redefine RedefineGTarg ./ver1/RedefineGTarg.class
[jdb] main[1]
> use ./ver1
[jdb] main[1]
> where
[jdb] [1] RedefineGTarg.m1 (RedefineG.java:59)
[jdb] [2] RedefineGTarg.<obsolete> (null)
[jdb] [3] RedefineGTarg.main (RedefineG.java:47)
[jdb] main[1]
> locals
[jdb] Method arguments:
[jdb] p1 = "ab"
[jdb] p2 = "2nd"
[jdb] Local variables:
[jdb] m1l2 = 2
[jdb] main[1]
> pop
[jdb] main[1]
> where
[jdb] [1] RedefineGTarg.<obsolete> (null)
[jdb] [2] RedefineGTarg.main (RedefineG.java:47)
[jdb] main[1]
> locals
[jdb] Local variable information not available. Compile with -g to generate variable information
[jdb] main[1]
> pop
[jdb] main[1]
> where
[jdb] [1] RedefineGTarg.main (RedefineG.java:47)
[jdb] main[1]
> locals
[jdb] Method arguments:
[jdb] args = instance of java.lang.String[0] (id=451)
[jdb] Local variables:
[jdb] gus = 22
[jdb] kk = instance of RedefineGTarg(id=452)
[jdb] main[1]
> cont
[debuggee] m1(String) called
[debuggee] m2ab2nd
[debuggee] Hello Milpitas!
[jdb] >
=======================================
Exception thrown during test execution: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
=======================================
> quit
Timeout refired 480 times
[jdb] >
----------System.err:(17/1126)*----------
java.lang.RuntimeException: waitForPrompt timed out after 240 seconds, looking for '<?[a-zA-Z0-9_-]*>?\\[[1-9][0-9]*\\] [ >]*$', in 1 lines
at lib.jdb.Jdb.waitForPrompt(Jdb.java:220)
at lib.jdb.Jdb.command(Jdb.java:240)
at lib.jdb.Jdb.quit(Jdb.java:265)
at lib.jdb.Jdb.shutdown(Jdb.java:108)
at lib.jdb.JdbTest.shutdown(JdbTest.java:136)
at lib.jdb.JdbTest.run(JdbTest.java:103)
at RedefineG.main(RedefineG.java:66)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
- duplicates
-
JDK-8301798 [BACKOUT] jdb ThreadStartRequest and ThreadDeathRequest should use SUSPEND_NONE instead of SUSPEND_ALL
- Resolved
- relates to
-
JDK-8301798 [BACKOUT] jdb ThreadStartRequest and ThreadDeathRequest should use SUSPEND_NONE instead of SUSPEND_ALL
- Resolved
-
JDK-8301695 com/sun/jdi/JdbOptions.java failed with "RuntimeException: waitForPrompt timed out after 240 seconds"
- Closed
-
JDK-8300811 jdb ThreadStartRequest and ThreadDeathRequest should use SUSPEND_NONE instead of SUSPEND_ALL
- Closed
-
JDK-8301795 com/sun/jdi/RedefineIntConstantToLong.java failed with "waitForPrompt timed out"
- Closed