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

[AIX, s390] UnsafeCopyMemory 'Mismatched' Tests Fail on Big Endian Systems

XMLWordPrintable

    • b14
    • ppc, s390x

      UnsafeCopyMemory.java contains a few tests with 'mismatched' source and destination size. These tests use Unsafe.copyMemory to copy 4 bytes between longs and ints.

      These copies do not happen as expected on big endian systems since the low-order bytes are stored in 'other' half of the long, and a little extra work is required to copy between the correct locations.

            stuefe Thomas Stuefe
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: