rvesse commented on issue #2092:
URL: https://github.com/apache/jena/issues/2092#issuecomment-1810362743

   I think this is the longstanding JDK bug - 
https://bugs.openjdk.org/browse/JDK-4715154 - that affects memory mapped files 
on Windows
   
   Terminating the JVM is the only way to allow these files to be deleted.
   
   You might want to use `Files.createTempDirectory()` rather than hardcoding 
your temporary data location, that way the OS will put the test dataset into 
its temporary files area and those will naturally get cleaned up by the OS over 
time anyway.  Then you don't need to worry about explicitly deleting the files 
in your tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to