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 bugJDK-8037934.
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
- relates to
-
JDK-8050938 4.7.9.1: Clarify relationship of Identifiers to class names
-
- Closed
-
-
JDK-8037934 Javac generates invalid signatures for local types
-
- Resolved
-