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

[JENKINS-4409] Disable URLClassLoader cache before opening stream #9

Closed
wants to merge 1 commit into from

Conversation

Vlatombe
Copy link

@Vlatombe Vlatombe commented Feb 3, 2015

This commit implements a workaround for https://bugs.openjdk.java.net/browse/JDK-8013099

The previous behaviour was causing retention of file handles, resulting
in temp folder leaks when executing Jenkins test cases.

This commit implements a workaround for https://bugs.openjdk.java.net/browse/JDK-8013099

The previous behaviour was causing retention of file handles, resulting
in temp folder leaks when executing Jenkins test cases.
@buildhive
Copy link

Jesse Glick » sezpoz #18 SUCCESS
This pull request looks good
(what's this?)

@jglick
Copy link
Owner

jglick commented Feb 23, 2015

This seems problematic. For the normal case that JARs are not changing “beneath your feet”, it will result in worse performance, since the JAR might need to be closed and reopened for each lookup. And it probably only matters on Windows in practice.

I think it is less controversial to just disable caches globally during tests on Windows, leaving Linux and production systems untouched.

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

Successfully merging this pull request may close these issues.

3 participants