[lworld] NullPointerException in orElse because Runtime$Version.build() is null

XMLWordPrintable

      We get
      ```
      java.util.Optional.orElse(Object)" because the return value of "java.lang.Runtime$Version.build()" is null
      ```

      in quite some tests:
      - compiler/valhalla/inlinetypes/TestValueConstruction.java#DontInlineObjectInitDeoptimizeALot
      - compiler/valhalla/inlinetypes/TestUnloadedInlineTypeField.java
      - compiler/valhalla/inlinetypes/TestValueConstruction.java#DeoptimizeALot
      - compiler/valhalla/inlinetypes/TestOnStackReplacement.java
      - compiler/valhalla/inlinetypes/TestNullableInlineTypes.java
      - compiler/valhalla/inlinetypes/TestIntrinsics.java
      [...]

      With or without stress flags, like nothing more than "-server -Xcomp".

            Assignee:
            Unassigned
            Reporter:
            Marc Chevalier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: