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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 23
    • 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

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

              Created:
              Updated:
              Resolved: