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

[nestmates] InstanceKlass::signature_name returns incorrect hidden class name

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:
      None

      Description

      InstanceKlass::signature_name currently returns the name in CP, i.e. "+" sign. JVM TI GetClassSignature calls this method to get the signature of a class. Hidden class should not appear in a field or method signature. Maybe GetClassSignature should return an error since there is no correct way to represent the hidden class' name in internal name.

      "+" and hex number is appended to CP entry when the class is created. We should audit the code path if the name from CP entry will appear in any error message.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hseigel Harold Seigel
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: