-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: None
-
Component/s: core-libs
ClassModel::verify does not report fields and methods duplicities.
For example a class with doubled method with the same signatures fails to load with error message:
Error: LinkageError occurred while loading main class Test
java.lang.ClassFormatError: Duplicate method name "test" with signature "()V" in class file Test
For example a class with doubled method with the same signatures fails to load with error message:
Error: LinkageError occurred while loading main class Test
java.lang.ClassFormatError: Duplicate method name "test" with signature "()V" in class file Test
- relates to
-
JDK-8182774 Verify code in javap
-
- Resolved
-