diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/FernFlowerDecompiler.java b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/FernFlowerDecompiler.java index 2ed9b0d9..08b00411 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/FernFlowerDecompiler.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/decompilers/impl/FernFlowerDecompiler.java @@ -78,7 +78,7 @@ public class FernFlowerDecompiler extends AbstractDecompiler try { tempFile = TempFile.createTemporaryFile(true, ".class"); - File tempClassFile = tempFile.createFileFromExtension(false, false, ".class"); + File tempClassFile = tempFile.getFile(); //load java source from temp directory tempFile.setParent(new File(TEMP_DIRECTORY));