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

jdk/internal/misc/JavaLangAccess/NewUnsafeString.java failing since 9-b93

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b35

      Description

      jdk/internal/misc/JavaLangAccess/NewUnsafeString.java

      This test starts failing since 9/b93, reproducible.
      Failure is just noticed recently because test itself is not actually run due to the missed @run tag. (JDK-8176187)

      STDERR:
      java.lang.Error: jla.newStringUnsafe did not use provided string
      at NewUnsafeString.testNewUnsafeString(NewUnsafeString.java:80)
      at NewUnsafeString.main(NewUnsafeString.java:86)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:547)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)

        Attachments

          Activity

            People

            • Assignee:
              redestad Claes Redestad
              Reporter:
              amlu Amy Lu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: