-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Support multi-release JARs #10860
Support multi-release JARs #10860
Conversation
...ects/bootstrap/core/src/main/java/io/quarkus/bootstrap/classloading/JarClassPathElement.java
Outdated
Show resolved
Hide resolved
Damn Windoze 😢. Something is locking the file and not closing it. Debugging again, but now in my Windows VM |
The problem is with JarURLConnection urlConnection = (JarURLConnection) resource.openConnection();
urlConnection.setUseCaches(false);
try (InputStream is = urlConnection.getInputStream()) {
IoUtils.copy(baos, is);
} But that's ridiculous, so I used |
From what I remember, @aloubyansky had fixed (or added some workaround for this) when he had run into this while working on packaging related changes. I don't remember what that fix/workaround was. |
Right, avoid URL.openStream() for local paths. |
Fixes #10756