On Tue, 8 Oct 2024 22:19:11 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/javafx/application/Platform.java line 
>> 586:
>> 
>>> 584:      * @since 22
>>> 585:      */
>>> 586:     public sealed interface Preferences extends ObservableMap<String, 
>>> Object>
>> 
>> is there any way we can convert this to a regular class here, so it can be 
>> inspected?
>> 
>> what's the point of declaring an interface just to allow for one possible 
>> implementation?
>
> No, that would be a mistake. And it's unnecessary.

please ignore.  Using reflection and/or BeanInfo on Platform.Properties.class 
worked.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1592#discussion_r1792587137

Reply via email to