On Tue, 6 May 2025 12:07:46 GMT, Chen Liang <li...@openjdk.org> wrote:
>> src/java.base/share/classes/jdk/internal/util/OperatingSystem.java line 88: >> >>> 86: >>> 87: // The current OperatingSystem >>> 88: private static @Stable OperatingSystem CURRENT_OS; >> >> Could this be a `StableValue.supplier()`? > > I would rather optimize MethodHandleAccessorFactory than defining a new class > for this... Rolled back per @jaikiran. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25025#discussion_r2075767396