On Tue, 23 Nov 2021 11:30:40 GMT, Jayathirth D V <[email protected]> wrote:
>> test/jdk/javax/imageio/plugins/bmp/BMPBitsPerPixelTest.java line 62:
>>
>>> 60: }
>>> 61: BufferedImage img = new BufferedImage(10, 10, imageType,
>>> (IndexColorModel)cm);
>>> 62: ImageIO.write(img, "BMP", new File("test.bmp"));
>>
>> Just noticed before sponsoring that this test will leave test.bmp file.
>> We should create temporary file and delete it on exit.
>
> I am withdrawing my approval, since this needs to be fixed.
I fixed it to use createTempFile and deleteOnExit.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6151