RFR: 6434110: Color constructor parameter name is misleading [v4]
Sergey Bylokhov
serb at openjdk.org
Mon Feb 23 19:14:07 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- Merge branch 'openjdk:master' into JDK-6434110
- lists via "<ul>" is added
- review feedback
- 6434110: Color constructor parameter name is misleading
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29734/files
- new: https://git.openjdk.org/jdk/pull/29734/files/f12b4406..6c542211
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29734&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29734&range=02-03
Stats: 486300 lines in 581 files changed: 243363 ins; 239200 del; 3737 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