[OpenJDK 2D-Dev] Review Request for JDK-8153363: Redundant check for number of components in PackedColorModel.equals() method
Jim Graham
james.graham at oracle.com
Mon Apr 4 21:43:42 UTC 2016
Looks good...
...jim
On 4/4/16 8:35 AM, Jayathirth D V wrote:
> Hi,
>
> _Please review the following fix in JDK9:_
>
> __
>
> Bug : https://bugs.openjdk.java.net/browse/JDK-8153363
>
> Webrev : http://cr.openjdk.java.net/~jdv/8153363/webrev.00/
>
> Issue : We have redundant check for equality of number of components in
> PackedColorModel.
>
> Solution : Number of components equality is verified in Parent
> class(ColorModel) and we call super.equals(), no need for checking the
> equality again.
>
> JCK test "api/java_awt/Image/PackedColorModel/equalsTests.java" verifies
> equals() method so added noreg-jck label in bug.
>
> Thanks,
>
> Jay
>
More information about the 2d-dev
mailing list