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

Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader

    Details

    • Subcomponent:
    • Resolved In Build:
      b19

      Backports

        Description

        Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader method. This situation triggers assertions in debug builds and crashes the JVM with a null dereferencing in release builds.

        ClassLoaderData instance may be null if, for instance, the class loader never defined a class.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lfoltan Lois Foltan
                  Reporter:
                  mbalao Martin Balao
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: