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

PreserveAllAnnotations can cause failure of class retransformation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • 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
      #

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

              Created:
              Updated:
              Resolved: