-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Gradle compiled plugin results in:
java.lang.IllegalArgumentException: MALFORMED
at java.util.zip.ZipCoder.toString(ZipCoder.java:58)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:300)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:122)
at the.bytecode.club.bytecodeviewer.plugin.strategies.CompiledJavaPluginLaunchStrategy.loadData(CompiledJavaPluginLaunchStrategy.java:83)
Using any archiving program to add classes into ZIP/JAR:
same result as Gradle
Using javac and jar to compile Template.java to a JAR:
java.io.EOFException
at java.util.zip.ZipInputStream.readFully(ZipInputStream.java:405)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:296)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:122)
at the.bytecode.club.bytecodeviewer.plugin.strategies.CompiledJavaPluginLaunchStrategy.loadData(CompiledJavaPluginLaunchStrategy.java:83)
Loading the plain Template.java file:
Works! (different loader strategy: JavaPluginLaunchStrategy)
TLDR: CompiledJavaPluginLaunchStrategy is broken.
Metadata
Metadata
Assignees
Labels
No labels