Re: RFR: 8290092: Temporary files are kept when call Clipboard.getSystemClipboard().getImage() [v2]

2023-02-07 Thread Lukasz Kostyra
On Tue, 7 Feb 2023 11:50:21 GMT, Ajit Ghaisas wrote: >> Lukasz Kostyra has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - ClipboardExtImageTest: Add missing copyright notice >> - Add manual test to check for leftover Clipboard files > >

Re: RFR: 8290092: Temporary files are kept when call Clipboard.getSystemClipboard().getImage() [v2]

2023-02-07 Thread Ajit Ghaisas
On Thu, 2 Feb 2023 16:44:11 GMT, Lukasz Kostyra wrote: >> Windows implementation of GlassClipboard.cpp uses IStorage interface in >> `PopImage()` to allocate a temporary file, which is then used to capture >> Image data from system clipboard and move it to JVM side. In order for >> temporary f

Re: RFR: 8290092: Temporary files are kept when call Clipboard.getSystemClipboard().getImage() [v2]

2023-02-02 Thread Lukasz Kostyra
> Windows implementation of GlassClipboard.cpp uses IStorage interface in > `PopImage()` to allocate a temporary file, which is then used to capture > Image data from system clipboard and move it to JVM side. In order for > temporary file to be removed automatically on `IStorage::Release()`, >