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

java/lang/instrument/ManifestTest.sh fails intermittently

XMLWordPrintable

      java/lang/instrument/ManifestTest.sh fails intermittently with java.lang.ExceptionInInitializerError

      ===== begin test case: boot_cp_line4 =====
      Error occurred during initialization of VM
      java.lang.ExceptionInInitializerError
      at java.lang.invoke.MethodHandle.<clinit>(MethodHandle.java:422)
      Caused by: java.lang.ArrayIndexOutOfBoundsException
      at java.lang.System.arraycopy(Native Method)
      at java.lang.String.getChars(String.java:814)
      at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:422)
      at java.lang.StringBuilder.append(StringBuilder.java:136)
      at java.lang.invoke.MethodHandleImpl$1.run(MethodHandleImpl.java:57)
      at java.lang.invoke.MethodHandleImpl$1.run(MethodHandleImpl.java:54)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.lang.invoke.MethodHandleImpl.<clinit>(MethodHandleImpl.java:54)
      at java.lang.invoke.MethodHandle.<clinit>(MethodHandle.java:422)

      Error occurred during initialization of VM
      agent library failed to init: instrument
      Error opening zip file or JAR manifest missing : ManifestTestAgent.jar
      FAIL: ManifestTestApp exited with status of 1
      FAIL: did NOT find 'Hello from ManifestTestAgent!' in the test output
      FAIL: did NOT find 'ExampleForBootClassPath was loaded.' in the test output
      FAIL: did NOT find 'isRedefineClassesSupported()=false' in the test output
      FAIL: did NOT find 'isRetransformClassesSupported()=false' in the test output
      FAIL: did NOT find 'isNativeMethodPrefixSupported()=false' in the test output
      Test removing [ has_leading_and_trailing_blank ]
      ===== end test case: boot_cp_line4 =====

            Unassigned Unassigned
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: