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

Class.forName may return a reference to a loaded but not linked Class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8, 9, 10, 11
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:

      Description

      As part of the investigation of JDK-8181144, it has been noticed that Class.forName, with initialize=false, can return a class that has not been linked. This conflict between the spec and implementation needs to be investigated and resolved.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bchristi Brent Christian
              Reporter:
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: