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

getUint32 returning Long

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        function uint32(x) {
            var buffer = new ArrayBuffer(16);
            var dataview = new DataView(buffer);
            dataview.setUint32(0, x);
            return dataview.getUint32(0);
        }

        print(uint32(0x7f) == uint32(0x7f));
        print(uint32(0x80) == uint32(0x80));

        after 8_112 returns true false

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                hannesw Hannes Wallnoefer
                Reporter:
                jlaskey Jim Laskey
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: