On Tue, 20 Jan 2026 20:25:24 GMT, Phil Race <[email protected]> wrote:
>> This PR removes usage of AppContext from classes under javax/swing/text.
>> Most of the uses were added in specific bug fixes 10-15 years ago but are
>> now obsolete and the tests for those bugs need to be deleted too.
>
> Phil Race has updated the pull request incrementally with one additional
> commit since the last revision:
>
> 8375350
src/java.desktop/share/classes/javax/swing/text/html/parser/Element.java line
109:
> 107: this.index = index;
> 108: if (index > getMaxIndex()) {
> 109: maxIndex = index;
guess before AppContext was added the code was
`maxIndex = Math.max(maxIndex, index);`
https://hg.openjdk.org/jdk8/jdk8/jdk/rev/0967103c1b65
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29259#discussion_r2711703592