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

[TESTBUG] runtime/Unsafe/RangeCheck.java didn't get the expected assert

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • team

      It seems the test didn't get the expected assert:

      java.lang.RuntimeException: 'assert\\(byte_offset < p_size\\) failed: Unsafe access: offset \\d+ > object's size \\d+' missing from stdout/stderr

      at com.oracle.java.testlibrary.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:225)
      at RangeCheck.main(RangeCheck.java:50)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:502)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

            minqi Yumin Qi
            jwilhelm Jesper Wilhelmsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: