[lworld] RFR: 8327636: [lworld] Make primitive wrappers be value class if preview feature is enabled [v2]

Mandy Chung mchung at openjdk.org
Fri Mar 8 05:10:03 UTC 2024


On Fri, 8 Mar 2024 05:03:42 GMT, Chen Liang <liach at openjdk.org> wrote:

> Can Class::getModule ever return null after module system is initialized?

No.

`lookupModule == null` when module system is being initialized before java.base is defined.   So the null check needs to be there.

-------------

PR Review Comment: https://git.openjdk.org/valhalla/pull/1040#discussion_r1517171301



More information about the valhalla-dev mailing list