git: openjdk/jdk: 8323108: BufferedImage.setData(Raster) should not cast float and double values to integers

Phil Race prr at openjdk.org
Sun Jan 21 23:48:32 UTC 2024


Changeset: 2003610b
Author:    Martin Desruisseaux <martin.desruisseaux at geomatys.com>
Committer: Phil Race <prr at openjdk.org>
Date:      2024-01-21 23:47:51 +0000
URL:       https://git.openjdk.org/jdk/commit/2003610b3b52eed04de6713a2a36151d0d86d7c9

8323108: BufferedImage.setData(Raster) should not cast float and double values to integers

Reviewed-by: prr, bpb, serb

! src/java.desktop/share/classes/java/awt/image/BufferedImage.java
! src/java.desktop/share/classes/java/awt/image/WritableRaster.java
+ test/jdk/java/awt/image/BufferedImage/SetData.java



More information about the jdk-changes mailing list