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

[lworld] Incorrect Signature attribute in class file.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Given:

      public inline class X<T> {
          X.ref<String> r2 = null;
      }

      After compile, javap reports:

      public final value class X<T extends java.lang.Object> extends java.lang.Object
        minor version: 0
        major version: 60
        flags: (0x0131) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_INLINE
        this_class: #1 // X
        super_class: #11 // X$ref

      Signature: #27 // <T:Ljava/lang/Object;>Ljava/lang/Object;

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sadayapalam Srikanth Adayapalam
              Reporter:
              sadayapalam Srikanth Adayapalam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: