From be2afd4aff377ddc8f9e9f22de24ee41e37da324 Mon Sep 17 00:00:00 2001 From: Konloch Date: Wed, 2 Oct 2024 12:24:10 -0600 Subject: [PATCH] FernFlower Temp Files API Fix --- .../bytecodeviewer/decompilers/impl/FernFlowerDecompiler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));