Skip to content

Commit

Permalink
disable jarurlconnection caching
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Aug 28, 2020
1 parent e3dfa9a commit ac11203
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public static void launch(String callingClass, String quarkusApplication, Consum
Path appClasses;
if ("jar".equals(uri.getScheme())) {
JarURLConnection connection = (JarURLConnection) uri.toURL().openConnection();
connection.setDefaultUseCaches(false);
appClasses = Paths.get(connection.getJarFileURL().toURI());
} else {
appClasses = Paths.get(uri);
Expand Down

0 comments on commit ac11203

Please sign in to comment.