RFR: 8354791: Use Hashtable.putIfAbsent in CSS constructor [v2]
Andrey Turbanov
aturbanov at openjdk.org
Tue Apr 29 13:51:40 UTC 2025
On Mon, 28 Apr 2025 23:40:29 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> add CSS. prefix
>
> src/java.desktop/share/classes/javax/swing/text/html/CSS.java line 737:
>
>> 735: valueMapper);
>> 736: Object generic = new CssValue();
>> 737: for (Attribute key : Attribute.allAttributes) {
>
> It seems that the entire method references the Attribute class via the CSS prefix.
Good catch. Updated
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22032#discussion_r2066513730
More information about the client-libs-dev
mailing list