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

[lworld] sun.misc.Unsafe should fail to get the offset of a field of value type

XMLWordPrintable

      Memory-access methods in sun.misc.Unsafe are proposed to be deprecated for removal [1]. `staticFieldOffset`, `staticFieldBase` and `staticFieldOffset` should throw UOE if the given field is of value type.

      [1] https://openjdk.org/jeps/8323072

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: