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

Read/Write of Value layout should honor declared endianness

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: repo-panama
    • Component/s: core-libs
    • Labels:

      Description

      Layout allows to declare a Value type with BIG_ENDIAN or LITTLE_ENDIAN, but current implementation simply ignore it.

      As the default is LITTLE ENDIAN, and the only architecture panama supports now is x86, the issue is mostly ignored.

      However, this won't work on BIG ENDIAN VM, and when we declare a field as BIG ENDIAN, we won't get correct value.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                henryjen Henry Jen
                Reporter:
                henryjen Henry Jen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: