RFR: 8345348: CSS media feature queries [v23]
Andy Goryachev
angorya at openjdk.org
Wed May 7 15:14:27 UTC 2025
On Wed, 7 May 2025 15:09:18 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> yes it can:
>>
>> --add-opens javafx.graphics/com.sun.javafx.application.preferences=andy_test
>>
>>
>>
>> var platformPreferences = Platform.getPreferences();
>> var colorSchemeProperty = platformPreferences.colorSchemeProperty();
>> Method m = colorSchemeProperty.getClass().getMethod("updateEffectiveValue");
>> m.invoke(colorSchemeProperty);
>
>> --add-opens javafx.graphics/com.sun.javafx.application.preferences=andy_test
>
> You can access any number of internal classes or methods with "--add-exports" or "--add-opens", so that is not a valid argument.
okay
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1655#discussion_r2077889957
More information about the openjfx-dev
mailing list