Skip to content

Commit

Permalink
[java] Stop creating META-INF/versions/9 file zip entry, it should be…
Browse files Browse the repository at this point in the history
… a directory. Fixes issue #7061
  • Loading branch information
barancev committed Mar 29, 2019
1 parent 53bb2c4 commit 0ff52db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/client/src/org/openqa/selenium/tools/ModuleMaker.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static void main(String[] args) throws IOException {
dir.setLastModifiedTime(FileTime.fromMillis(DOS_EPOCH));
jos.putNextEntry(dir);

dir = new ZipEntry("META-INF/versions/9");
dir = new ZipEntry("META-INF/versions/9/");
dir.setTime(DOS_EPOCH);
dir.setCreationTime(FileTime.fromMillis(DOS_EPOCH));
dir.setLastModifiedTime(FileTime.fromMillis(DOS_EPOCH));
Expand Down

0 comments on commit 0ff52db

Please sign in to comment.