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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-valhalla
    • repo-valhalla
    • hotspot
    • None

      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.

            hseigel Harold Seigel (Inactive)
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: