-
Bug
-
Resolution: Fixed
-
P3
-
11
-
b01
-
generic
-
generic
When overiding the finalizer delegate method JavaAdapterBytecodeGenerator uses the internal class name of the generated class to ASM Type.getType(String) method. However, that method requires a type descriptor, i.e. java classes must have a leading 'L' and a trailing ';'.
Since the version of ASM used up to JDK 10 accepts this (it returns a method type with the correct class name) correct code is generated. However, ASM v7 is stricter and throws when presented with an class name instead of a type descriptor.
See JDK-8194907 for the original report.
Since the version of ASM used up to JDK 10 accepts this (it returns a method type with the correct class name) correct code is generated. However, ASM v7 is stricter and throws when presented with an class name instead of a type descriptor.
See JDK-8194907 for the original report.