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

Sergey Bylokhov serb at openjdk.org
Mon Feb 23 22:49:44 UTC 2026


On Mon, 23 Feb 2026 20:53:50 GMT, Phil Race <prr at openjdk.org> wrote:

>> Remove AppContext from JEditorPane
>
> 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?

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

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


More information about the client-libs-dev mailing list