RFR: 6434110: Color constructor parameter name is misleading [v3]
Sergey Bylokhov
serb at openjdk.org
Tue Feb 17 20:32:54 UTC 2026
> 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.
Sergey Bylokhov has updated the pull request incrementally with one additional commit since the last revision:
lists via "<ul>" is added
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29734/files
- new: https://git.openjdk.org/jdk/pull/29734/files/3ae10ac3..f12b4406
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29734&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29734&range=01-02
Stats: 24 lines in 1 file changed: 12 ins; 0 del; 12 mod
Patch: https://git.openjdk.org/jdk/pull/29734.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29734/head:pull/29734
PR: https://git.openjdk.org/jdk/pull/29734
More information about the client-libs-dev
mailing list