From 0789e735fbc2cfa489816d42861fa60d6e59dcb4 Mon Sep 17 00:00:00 2001 From: AterAnimAvis Date: Wed, 19 May 2021 21:30:07 +0100 Subject: [PATCH] fix: Java 8 no longer loading ClassStreams correctly The original patched will skip the IBytecodeProvider due to the always present byte array (even if it is 0 length), It looks like the original intention is for `link.data` to be null in this case. Signed-off-by: AterAnimAvis --- .../0063-Add-Java-9-classes-to-fix-classpath-oddities.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FernFlower-Patches/0063-Add-Java-9-classes-to-fix-classpath-oddities.patch b/FernFlower-Patches/0063-Add-Java-9-classes-to-fix-classpath-oddities.patch index 64789ef..25adb9c 100644 --- a/FernFlower-Patches/0063-Add-Java-9-classes-to-fix-classpath-oddities.patch +++ b/FernFlower-Patches/0063-Add-Java-9-classes-to-fix-classpath-oddities.patch @@ -155,7 +155,7 @@ index d75c93deecbdd8c43a5f9d1a2a7a7f4e7e13e8cf..789060ca39b7ff5f897c3150554f97d0 this.type = type; this.externalPath = externalPath; this.internalPath = internalPath; -+ this.data = new byte[] {}; ++ this.data = null; } } }