-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: repo-valhalla
-
Component/s: hotspot
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".
```
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".