[OpenJDK 2D-Dev] RFR: [JDK-8130400] Test java/awt/image/DrawImage/IncorrectClipXorModeSurface2Surface.java fails with ClassCastException

prasanta sadhukhan prasanta.sadhukhan at oracle.com
Fri Jul 17 11:40:01 UTC 2015


Bug: https://bugs.openjdk.java.net/browse/JDK-8130400
webrev: http://cr.openjdk.java.net/~psadhukhan/8130400/webrev.00/

The test fails with ClassCastException
java.lang.ClassCastException: sun.java2d.loops.XORComposite cannot be 
cast to java.awt.AlphaComposite
when drawing volatimeImage image to volatimeImage in xor mode since 
during setting xor mode, we do a SetComposite with XORComposite object
which is not taken into account during transformed blits in linux in 
Xrender pipeline.


More information about the 2d-dev mailing list