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

Read/Write of Value layout should honor declared endianness

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • repo-panama
    • repo-panama
    • core-libs

      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.

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

              Created:
              Updated:
              Resolved: