Integrated: 6434110: Color constructor parameter name is misleading
Sergey Bylokhov
serb at openjdk.org
Wed Feb 25 20:13:21 UTC 2026
On Mon, 16 Feb 2026 07:40:55 GMT, Sergey Bylokhov <serb at openjdk.org> 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 <serb at openjdk.org>
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
More information about the client-libs-dev
mailing list