On Wed, 7 May 2025 15:09:18 GMT, Kevin Rushforth <[email protected]> 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