Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check release of image file handle #91

Open
caillette opened this issue Jan 4, 2010 · 3 comments
Open

Check release of image file handle #91

caillette opened this issue Jan 4, 2010 · 3 comments

Comments

@caillette
Copy link
Owner

Not sure that it gets released as it should: on Windows, cannot delete the file of served image.

@caillette
Copy link
Owner Author

Fixed, but how to write unit tests for this? JPicus does things that would help but it's closed source and not designed for embedding. AspectJ could help but doesn't seem to allow weaving aspects on java.* classes.

@caillette
Copy link
Owner Author

Latest release of VisualVM (3.3) has file handle counter but it doesn't work on Windows. Better luck on Mac OS X?

@caillette
Copy link
Owner Author

Also worth a look: LessIOSecurityManager.
http://eng.wealthfront.com/2010/11/less-io-for-your-java-unit-tests.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant