Integrated: 8048190: NoClassDefFoundError omits original ExceptionInInitializerError

Coleen Phillimore coleenp at openjdk.java.net
Thu Aug 12 13:49:40 UTC 2021


On Wed, 4 Aug 2021 17:55:25 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> 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).

This pull request has now been integrated.

Changeset: 464e874a
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/464e874a5c6b46fcc729227764d07feb1801314d
Stats:     258 lines in 9 files changed: 245 ins; 3 del; 10 mod

8048190: NoClassDefFoundError omits original ExceptionInInitializerError

Reviewed-by: dholmes, iklam

-------------

PR: https://git.openjdk.java.net/jdk/pull/4996


More information about the hotspot-dev mailing list