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

[lworld] ensure non-nullable on setting value field via reflection and VarHandle

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: core-libs
    • Labels:

      Description

      In the current LW1 model, a field marked with ACC_FLATTENABLE bit and its type is in ValueTypes attribute is flattenable. A flattenable field is not nullable whereas a field of value type that does not have ACC_FLATTENABLE set may be set to null from the runtime perspective.

        Attachments

          Activity

            People

            • Assignee:
              mchung Mandy Chung
              Reporter:
              mchung Mandy Chung
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: