Skip to content
Browse files

fix to modify jar file on windows

  • Loading branch information...
1 parent e1d8d5d commit 3ec10f331c71e033c512d52f1e8408d435cd4eb3 @ctomc ctomc committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/org/jboss/jandex/JarIndexer.java
View
3 src/main/java/org/jboss/jandex/JarIndexer.java
@@ -70,6 +70,9 @@ public static Result createJarIndex(File jarFile, Indexer indexer, boolean modif
Index index = indexer.complete();
int bytes = writer.write(index);
+ out.close();
+ zo.close();
+ jar.close();
if (modify) {
jarFile.delete();

0 comments on commit 3ec10f3

Please sign in to comment.
Something went wrong with that request. Please try again.