Skip to content

Conversation

@AterAnimAvis
Copy link
Member

java.io.IOException: Skip failed
    at org.jetbrains.java.decompiler.util.DataInputFullStream.discard(DataInputFullStream.java:52)
    at org.jetbrains.java.decompiler.struct.lazy.LazyLoader.loadBytecode(LazyLoader.java:75)
    at org.jetbrains.java.decompiler.struct.StructMethod.expandData(StructMethod.java:121)
    at org.jetbrains.java.decompiler.main.rels.MethodProcessorRunnable.codeToJava(MethodProcessorRunnable.java:101)
    at org.jetbrains.java.decompiler.main.rels.ClassWrapper.init(ClassWrapper.java:99)
    at org.jetbrains.java.decompiler.main.ClassesProcessor.initWrappers(ClassesProcessor.java:361)
    at org.jetbrains.java.decompiler.main.ClassesProcessor.writeClass(ClassesProcessor.java:307)
    at org.jetbrains.java.decompiler.main.Fernflower.getClassContent(Fernflower.java:100)
    at org.jetbrains.java.decompiler.struct.ContextUnit.save(ContextUnit.java:177)
    at org.jetbrains.java.decompiler.struct.StructContext.saveContext(StructContext.java:77)
    at org.jetbrains.java.decompiler.main.Fernflower.decompileContext(Fernflower.java:67)
    at org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler.decompileContext(ConsoleDecompiler.java:171)
    at org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler.main(ConsoleDecompiler.java:132)

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 <AterAnimAvis@gmail.com>
@AterAnimAvis AterAnimAvis merged commit fb9e3d5 into Legacy-2.0 May 21, 2021
@AterAnimAvis AterAnimAvis deleted the fix/classpath_loading branch May 23, 2021 18:41
moist-mason pushed a commit to ancientmc/ForgeFlower that referenced this pull request Mar 19, 2023
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 <AterAnimAvis@gmail.com>
moist-mason pushed a commit to ancientmc/ForgeFlower that referenced this pull request Mar 19, 2023
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 <AterAnimAvis@gmail.com>
TheCurle pushed a commit that referenced this pull request Mar 22, 2023
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 <AterAnimAvis@gmail.com>
TheCurle pushed a commit that referenced this pull request Mar 22, 2023
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 <AterAnimAvis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants