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

getUint32 returning Long

    XMLWordPrintable

Details

    • b12
    • generic
    • 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

                hannesw Hannes Wallnoefer
                jlaskey Jim Laskey (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: