RFR: 8377427: Reduce substring allocations in Color.web(String, double) [v10]

Michael Strauß mstrauss at openjdk.org
Thu Feb 19 17:26:40 UTC 2026


On Thu, 19 Feb 2026 16:51:35 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   add test
>
> modules/javafx.graphics/src/test/java/test/com/sun/javafx/css/parser/CssNumberParserTest.java line 198:
> 
>> 196:     @Test
>> 197:     public void roundingIsCorrectForSubnormals() {
>> 198:         int seed = new Random().nextInt();
> 
> please change to a `long seed = new Random().nextLong();`
> 
> here and elsewhere.

Done so.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2069#discussion_r2829135670


More information about the openjfx-dev mailing list