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

Class-File API ClassModel::verify should include checks from hotspot/share/classfile/classFileParser.cpp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 23
    • None
    • 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

            asotona Adam Sotona
            asotona Adam Sotona
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: