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

[MVT] Reading an uninitialized static value type field should not throw a NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • repo-valhalla
    • repo-valhalla
    • hotspot

      Static value type fields are not flattened but contain an oop to a Java heap allocated value type. If an uninitialized static value type field is read, we should not throw a NPE but return the default value type.

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: