Skip to content
Permalink
Browse files
Create .cache folder first if it doesn't exist
  • Loading branch information
LadyCailin committed May 15, 2020
1 parent 9fc14f1 commit afd97f94938f80ad49c6c16b1e4fc0d0de70e23b
Showing 1 changed file with 1 addition and 0 deletions.
@@ -131,6 +131,7 @@ public ClassDiscoveryURLCache getURLCache(URL fromClassLocation) {
if(cacheOutputName != null) {
try {
synchronized(CACHE_WRITE_LOCK) {
cacheOutputName.getParentFile().mkdirs();
try(ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(cacheOutputName, false))) {
zos.putNextEntry(new ZipEntry("data"));
cache.writeDescriptor(zos);

0 comments on commit afd97f9

Please sign in to comment.