Other |
---|
5.0 tigerFixed |
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Ken Rusell writes: I happened to notice that the fix for 4546590 (compute_compiled_exc_handler, runtime.cpp) has a small problem: it does not cause the new exception generated during exception handler lookup to be passed back to the caller and thereby to the Java code. This means that the ClassNotFoundError will not be seen by the end user; the original exception will be seen in its place. Making the "Handle exception" parameter a "Handle& exception" would have the correct semantics. ---- How to reproduce: Use test from 4307310 for test case. Compare (incorrect): java -server -Xcomp -Xfuture -cp test.zip packA.ClsC Exception in thread "main" packA.ClsE at packA.ClsC.doThrow(ClsC.java:8) at packB.ClsD.doTryCatch(ClsD.java:9) at packA.ClsC.main(ClsC.java:15) to (correct): java -server -Xint -Xfuture -cp test.zip packA.ClsC Exception in thread "main" java.lang.IllegalAccessError: tried to access class packA.ClsE from class packB.ClsD at packB.ClsD.doTryCatch(ClsD.java:9) at packA.ClsC.main(ClsC.java:15)
|