PreserveAllAnnotations can cause failure of class retransformation

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: None
    • Component/s: core-svc
    • None

      testcase:
      test/jdk/java/lang/instrument/RetransformRecordAnnotation.java
      with option -XX:+PreserveAllAnnotations
      fails with

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (src/hotspot/share/prims/jvmtiClassFileReconstituter.cpp:977), pid=28432, tid=12772
      # assert(attr_name_index != 0) failed: attribute name symbol not in constant pool
      #

            Assignee:
            Alex Menkov
            Reporter:
            Alex Menkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: