Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
11
-
b03
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8223440 | 11.0.4 | Lois Foltan | P3 | Resolved | Fixed | b02 |
Description
Review uses of java_lang_ClassLoader::describe_external in favor of replacing with the new method Klass::class_in_module_of_loader for more consistency across error messages with regards to how module and class loaders are worded within the message.
Also consider further improvements to Klass::joint_in_module_of loader() to combine the two class names reported and report instead of:
(C and D are in unnamed module of loader 'app')
to
(both classes are in unnamed module of loader 'app')
Also consider further improvements to Klass::joint_in_module_of loader() to combine the two class names reported and report instead of:
(C and D are in unnamed module of loader 'app')
to
(both classes are in unnamed module of loader 'app')
Attachments
Issue Links
- backported by
-
JDK-8223440 Improve the wording of LinkageErrors to include module and class loader information
- Resolved
- relates to
-
JDK-8166633 Enhance exception message where a class name is included to include module/loader info
- Open
-
JDK-8169559 Add class loader names to relevant VM messages
- Resolved
-
JDK-8207912 runtime/Metaspace/DefineClass.java fails intermittently
- Resolved