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

Michael Strauß mstrauss at openjdk.org
Thu Feb 19 19:08:06 UTC 2026


On Thu, 19 Feb 2026 18:53:54 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> I think the comment already explains what it is, including a link to a script that generates it. The script itself is now in the `powersOfFive()` unit test.
>
> you are right.  do you think it would make sense to point to the code (test) that generates the table in the comment?

It seems unusual to point to tests from production code. In any case, we've now locked down the table, and any change will fail the test.

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

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


More information about the openjfx-dev mailing list