diff options
| author | 2019-11-08 17:35:32 -0500 | |
|---|---|---|
| committer | 2019-11-08 22:35:32 +0000 | |
| commit | 46dc14bb5922f7310608dfe06d525fc660da0598 (patch) | |
| tree | a52325f059a30e3fce73c61b13d432870d1a680f /src | |
| parent | Fix local variable fixer (#172) (diff) | |
| download | enigma-fork-46dc14bb5922f7310608dfe06d525fc660da0598.tar.gz enigma-fork-46dc14bb5922f7310608dfe06d525fc660da0598.tar.xz enigma-fork-46dc14bb5922f7310608dfe06d525fc660da0598.zip | |
Fix compiling on Java 13 (#174)
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/java/cuchaz/enigma/analysis/ClassCache.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/analysis/ClassCache.java b/src/main/java/cuchaz/enigma/analysis/ClassCache.java index 6c8af1c..8453df1 100644 --- a/src/main/java/cuchaz/enigma/analysis/ClassCache.java +++ b/src/main/java/cuchaz/enigma/analysis/ClassCache.java | |||
| @@ -37,7 +37,7 @@ public final class ClassCache implements AutoCloseable, CompiledSource { | |||
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | public static ClassCache of(Path jarPath) throws IOException { | 39 | public static ClassCache of(Path jarPath) throws IOException { |
| 40 | FileSystem fileSystem = FileSystems.newFileSystem(jarPath, null); | 40 | FileSystem fileSystem = FileSystems.newFileSystem(jarPath, (ClassLoader) null); |
| 41 | ImmutableSet<String> classNames = collectClassNames(fileSystem); | 41 | ImmutableSet<String> classNames = collectClassNames(fileSystem); |
| 42 | 42 | ||
| 43 | return new ClassCache(fileSystem, classNames); | 43 | return new ClassCache(fileSystem, classNames); |