On Mon, 16 Feb 2026 07:40:55 GMT, Sergey Bylokhov <[email protected]> wrote:

> Small cleanup: the parameter names in the Color(int, boolean) constructor 
> have been renamed:
>  - rgba -> argb, since this is the format described in the spec
>  - hasalpha -> hasAlpha, to follow common naming conventions
> 
> Also adds a basic test for the constructor.

This pull request has now been integrated.

Changeset: 36d67ffd
Author:    Sergey Bylokhov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/36d67ffd0188070d0fb087beffece15fea4ba956
Stats:     100 lines in 2 files changed: 77 ins; 0 del; 23 mod

6434110: Color constructor parameter name is misleading

Reviewed-by: prr, aivanov

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

PR: https://git.openjdk.org/jdk/pull/29734

Reply via email to