On Thu, 17 Sep 2026 06:55:05 GMT, Jayathirth D V <[email protected]> wrote:
>> On macOS this test fails all the time because of rounded corners but we >> check for pixels even outside the rounder corners. >> This test can also fail intermittently for edge pixels on HiDPI displays or >> because robot screen capture downsamples from absolute fractional scaled >> data on platforms like windows. >> >> We are now using insets to avoid rounded corner issue, test is run with >> uiScale = 1 and we are excluding some edge pixels. Test is also updated to >> dump an image on failure for better debugging purpose. >> >> On Linux we actually have blitting issue when we have source clipping and >> for that i have created a separate issue >> [JDK-8392471](https://bugs.openjdk.org/browse/JDK-8392471). Test is also >> verified in CI. >> >> >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Jayathirth D V has updated the pull request incrementally with one additional > commit since the last revision: > > Update It fails for me locally in windows11 ----------System.out:(11/752)----------^M Testing source: BufferedImage@3559ef8e: type = 1 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=0 IntegerInterleavedRaster: width = 50 height = 50 #Bands = 3 xOff = 0 yOff = 0 dataOffset[0] 0^M testing blit rect src: java.awt.Rectangle[x=0,y=0,width=30,height=30]^M dst: java.awt.Rectangle[x=-10,y=-10,width=30,height=30]^M calculated dest rect:java.awt.Rectangle[x=0,y=0,width=20,height=20]^M subtest passed^M testing blit rect src: java.awt.Rectangle[x=-10,y=-10,width=50,height=50]^M dst: java.awt.Rectangle[x=0,y=0,width=50,height=50]^M calculated dest rect:java.awt.Rectangle[x=10,y=10,width=40,height=40]^M Dumped res to: SourceClippingBlitTest.png^M Test failed at x=9 y=9^M expected: ff00ff00 got:ff24db00^M ----------System.err:(39/3186)----------^M java.lang.RuntimeException: Test failed at x=9 y=9^M at SourceClippingBlitTest.test(SourceClippingBlitTest.java:253) ------------- PR Comment: https://git.openjdk.org/jdk/pull/32904#issuecomment-5710486718
