RFR: 8290092: Temporary files are kept when call Clipboard.getSystemClipboard().getImage()

Kevin Rushforth kcr at openjdk.org
Tue Jan 17 13:46:28 UTC 2023


On Tue, 17 Jan 2023 13:18:10 GMT, Lukasz Kostyra <lkostyra at openjdk.org> wrote:

> We could do it this way, my main worry is that during the test some other application running in the system will use the Temp directory

I was going to make that same comment. This seems fragile to me.

> If we did this only for Windows, we could eventually filter through the list and look only at files ending in `.TMP`. Then the above scenario will have even less chances of happening.

This seems like it might be OK.

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

PR: https://git.openjdk.org/jfx/pull/994


More information about the openjfx-dev mailing list