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

UnsafeGetConstantField.java fails with RuntimeException: assertEquals: expected -1 to equal 0

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris

      Description

      type=Int flags=0 stable=false default=true post=Unaligned
      type=Int flags=0 stable=true default=false post=Unaligned
      dumping test class to /scratch/opt/mach5/mesos/work_dir/a2119708-45ca-459c-b16e-99e3fad30288/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler/scratch/2/./TestIntUnaligned__f=0__s=true__d=false.class
      java.lang.RuntimeException: assertEquals: expected -1 to equal 0
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:189)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:166)
      at compiler.unsafe.UnsafeGetConstantField.runTest(UnsafeGetConstantField.java:173)
      at compiler.unsafe.UnsafeGetConstantField.testUnsafeGetFieldUnaligned(UnsafeGetConstantField.java:149)
      at compiler.unsafe.UnsafeGetConstantField.main(UnsafeGetConstantField.java:105)
      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:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                chagedorn Christian Hagedorn
                Reporter:
                thartmann Tobias Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: