RFR: 8308960: Decouple internal Version and OperatingSystem classes

Daniel Fuchs dfuchs at openjdk.org
Fri May 26 16:25:54 UTC 2023


On Fri, 26 May 2023 16:16:58 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> Alternatively, move `Version` record as a nested class in `OperatingSystem`.

That would work WRT naming, but I thought the point was to not have to load OperatingSystem in order to load Version?
Unless loading a static inner class doesn't force the loading of the outer class?

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

PR Comment: https://git.openjdk.org/jdk/pull/14181#issuecomment-1564631561


More information about the core-libs-dev mailing list