Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8205611

Improve the wording of LinkageErrors to include module and class loader information

    XMLWordPrintable

Details

    • b03

    Backports

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

        Attachments

          Issue Links

            Activity

              People

                lfoltan Lois Foltan
                lfoltan Lois Foltan
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: