[java] Stop creating META-INF/versions/9 file zip entry, it should be a directory. Fixes issue
@@ -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));
