RFR(M): 8165550: Add class loader names to ClassCastException message
David Holmes
david.holmes at oracle.com
Thu Nov 10 22:02:49 UTC 2016
Hi Rachel,
Just wondering, in the most complex case, exactly what will this new
message look like? We seem to be including module names as well as
classloader names, and of course class names.
Arguably we should only add the additional info when they differ between
the types ie if both in same classloader and same module then only
report class name; if same loader but different module report
module:class; if different loaders then report everything
loader:module:class. Also not sure module version is needed at all in
this message.
Thanks,
David
On 11/11/2016 7:38 AM, Rachel Protacio wrote:
> Hi,
>
> Please review this Jigsaw enhancement which adds the new format of class
> loader names to VM ClassCastException messages. Includes an
> updated/expanded jtreg test.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8165550
> Open webrev: http://cr.openjdk.java.net/~rprotacio/8165550.00/
>
> Passes JPRT and jck vm and lang tests.
>
> Thanks!
> Rachel
More information about the hotspot-runtime-dev
mailing list