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

5.5: eliminate initialization dependency on java.lang.Class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 23
    • 21
    • specification
    • vm

      Initialization is specified by JVMS in terms of a state tracked by the java.lang.Class object corresponding to each class or interface.

      This reliance on a specific API is unnecessary, and contrasts with the usual approach of talking abstractly about classes, not forcing a particular encoding or implementation strategy. (Compare, e.g., the specification of ldc, which allows for a layer of indirection between the abstract class represented by a constant and the java.lang.Class object loaded by the instruction.)

      This section should be revised to avoid mentioning java.lang.Class, and talk abstractly about a class or interface instead.

            dlsmith Dan Smith
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: