> I think we should at least test the consequences of this on a Windows 
> machine. I recall deleteOnExit being used because files are not deletable on 
> Windows machines until the tests have completed, or something like that.

@demobox Agreed we should test on Windows; do you have a Windows dev box?  
jclouds had issues with unclosed ```FileInputStream``` and 
```FileOutputStream``` over the years although I believe we have addressed 
those in separate commits.  ```deleteOnExit``` is just a crutch for incorrect 
resource management.

Related, I am working on a tool to instrument the garbage collector to find 
these kinds of resource management issues.  I hope to release it in a few weeks.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/378#issuecomment-44048671

Reply via email to