/* This is another symptomm of 4559100 *Thiscausesabuserroronsolsparc: *----calledfromsignalhandlerwithsignal10(SIGBUS)------ *[11]constantPoolOopDesc::klass_at_if_loaded(0xffbed4d8,0x16,0xffbed5cc,0x0,0x1,0xfa40b330),at0xfe11568c *[12]methodOopDesc::fast_exception_handler_bci_for(0x6,0x1,0xfe400a0c,0x0,0x2d1f0,0x0),at0xfe12e620 *[13]jvmdi::post_exception_throw_event(0x2d1f0,0xf61036f8,0xf6103752,0xf20414a8,0x2e2928,0xfe12e190),at0xfe2a4fa4
*/
ii = 89; // @1 delete this line
str = "foo";
System.out.println("a1: Calling the original a2/a3. 'The @@@ deleted lines should appear");
System.out.println("ii = " + ii); // @1 delete this line
a2();
}
publicvoid a3() throws Exception { int a3local = 3;
String a3string = "a3";
System.out.println("a3: @@ delete this line"); // If this line is deleted, the test passes!
System.out.println("a3: @1 breakpoint here a3"); thrownew Exception("This is the exception");
}
}
publicclass RedefineException extends JdbTest {
publicstaticvoid main(String argv[]) { new RedefineException().run();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.