RFR: 8378377: Remove use of AppContext from JEditorPane [v2]

Phil Race prr at openjdk.org
Tue Feb 24 18:17:50 UTC 2026


On Mon, 23 Feb 2026 22:47:24 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8378377
>
> src/java.desktop/share/classes/javax/swing/JEditorPane.java line 1325:
> 
>> 1323:     private static final Hashtable<String, EditorKit> kitRegistry = new Hashtable<>(3);
>> 1324: 
>> 1325:     private static Hashtable<String, EditorKit> getKitRegistry() {
> 
> These getters seems unneeded anymore? the fields can be accessed in just a few methods directly?

Ok. I eliminated the getters.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29855#discussion_r2848798033


More information about the client-libs-dev mailing list