[OpenJDK 2D-Dev] RFR: 8267116: Lanai: Incorrect AlphaComposite for VolatileImage graphics [v2]

Alexey Ushakov avu at openjdk.java.net
Mon May 17 08:03:40 UTC 2021


On Sat, 15 May 2021 21:13:57 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Alexey Ushakov has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.
>
> test/jdk/java/awt/image/VolatileImage/AlphaCompositeTest.java line 54:
> 
>> 52:         } while (vi.contentsLost());
>> 53: 
>> 54:         BufferedImage snapshot = vi.getSnapshot();
> 
> The snapshot should be saved inside the loop above, overwise content can be lost after the loop but brefore "vi.getSnapshot()"

Done

-------------

PR: https://git.openjdk.java.net/jdk/pull/4018


More information about the 2d-dev mailing list