[lworld] RFR: 8320437: [lworld] Adding internal null-restricted storage API points [v3]
Tobias Hartmann
thartmann at openjdk.org
Fri Nov 24 09:35:33 UTC 2023
On Tue, 21 Nov 2023 19:00:12 GMT, Frederic Parain <fparain at openjdk.org> wrote:
>> Adding internal null-restricted storage API points
>
> Frederic Parain has updated the pull request incrementally with one additional commit since the last revision:
>
> Field inheritance check should be limited to instance fields
This test (classes are equivalent to other test) fails only with `-XX:InlineFieldMaxFlatSize=0` but passes with default values:
Exception in thread "main" java.lang.RuntimeException: Failed
at Test.main(Test.java:23)
public static void main(String[] args) {
if (new EmptyContainer() != EmptyContainer.default) {
throw new RuntimeException("Failed");
}
}
```
I assume that's because it uses `.default` which will go away?
-------------
Changes requested by thartmann (Committer).
PR Review: https://git.openjdk.org/valhalla/pull/947#pullrequestreview-1747608338
More information about the valhalla-dev
mailing list