apidiff: IllegalArgumentException for RECORD_COMPONENT

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • None
    • Affects Version/s: None
    • Component/s: tools

      Exception in thread "main" java.lang.IllegalArgumentException: RECORD_COMPONENT user
      at jdk.codetools.apidiff.model.API$JavacAPI$ApiDescriptionVisitor.visitUnknown(API.java:975)
      at jdk.codetools.apidiff.model.API$JavacAPI$ApiDescriptionVisitor.visitUnknown(API.java:935)
      at java.compiler@24-internal/javax.lang.model.element.ElementVisitor.visitRecordComponent(ElementVisitor.java:223)
      at jdk.compiler/com.sun.tools.javac.code.Symbol$RecordComponent.accept(Symbol.java:1905)
      at jdk.codetools.apidiff.model.API$JavacAPI$ApiDescriptionVisitor.visit(API.java:940)
      at jdk.codetools.apidiff.model.API$JavacAPI.getApiDescription(API.java:668)
      at jdk.codetools.apidiff.model.ElementComparator.getApiDescription(ElementComparator.java:259)
      at jdk.codetools.apidiff.model.ElementComparator.compareApiDescriptions(ElementComparator.java:232)
      at jdk.codetools.apidiff.model.RecordComponentComparator.compare(RecordComponentComparator.java:74)

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: