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

javac could generate more accurate signatures for local classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P5
    • 9
    • 8u20, 8u25, 9
    • tools
    • None
    • generic
    • generic

    Description

      The fix for 8037934 violates the specification.

      According to specification, "A class type signature must be formulated such that it can be reliably mapped to the binary name of the class it denotes by erasing any type arguments and converting each . character to a $ character.", correct class signature for inner class must be with dots "Lfoo/Foo.1Local1;".

      To reproduce use code in the bug JDK-8037934.

      Attachments

        Issue Links

          Activity

            People

              abuckley Alex Buckley
              aeremeev Andrei Eremeev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: