RFR: 8048190: NoClassDefFoundError omits original ExceptionInInitializerError [v9]
Coleen Phillimore
coleenp at openjdk.java.net
Tue Aug 10 12:50:00 UTC 2021
> This is a change to save the class initialization error stack trace in a hashtable and return it as the cause when NoClassDefFoundError is thrown. The first commit is a more limited version of this that just changes the message, by adding to the message string. The second commit is getting and saving the stack trace for the original exception, and using the thread in the message. See CR for more details about how the message looks.
>
> Tested with tier1-3 tests on 3 platforms. Tier 4-6 in progress (all but two done and passed).
Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
Comment and test fixes.
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4996/files
- new: https://git.openjdk.java.net/jdk/pull/4996/files/ffec5bbd..de7a9999
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4996&range=08
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4996&range=07-08
Stats: 15 lines in 2 files changed: 1 ins; 4 del; 10 mod
Patch: https://git.openjdk.java.net/jdk/pull/4996.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4996/head:pull/4996
PR: https://git.openjdk.java.net/jdk/pull/4996
More information about the hotspot-dev
mailing list