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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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)

            Assignee:
            Yumin Qi
            Reporter:
            Jesper Wilhelmsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: