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

[TESTBUG] runtime/Unsafe/RangeCheck.java fails with -Xcomp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • hotspot
    • b23
    • x86
    • generic
    • Not verified

    Description

      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:165)
      at RangeCheck.main(RangeCheck.java:49)
      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:484)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

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

      JavaTest Message: shutting down test


      JDK-8047939 recently changed this test (regression ?)

      Attachments

        Issue Links

          Activity

            People

              ctornqvi Christian Tornqvist
              dsimms David Simms
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: