-
Bug
-
Resolution: Won't Fix
-
Minor
It looks like a custom classLoader has to be written. The default systemClassLoader doesn't load the classes. Could be related with project Jicksaw which seems to get delayed to a later Java release. Glowstone has a commit that introduces a custom URLClassLoader compatible with Java 8+9.
https://github.com/GlowstoneMC/Glowstone/commit/354640b5a78f842317ededed9aa304cc5185a707
Final mapped jar: work/mapped.22de4839.jar does not exist, creating! Exception in thread "main" java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:153) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:436) at net.md_5.ss.repo.RuntimeRepo.getClass0(RuntimeRepo.java:25) at net.md_5.ss.repo.ClassRepo.getClass(ClassRepo.java:22) at net.md_5.ss.repo.AggregateRepo.getClass0(AggregateRepo.java:30) at net.md_5.ss.repo.ClassRepo.getClass(ClassRepo.java:22) at net.md_5.ss.model.ClassInfo$1.apply(ClassInfo.java:97) at net.md_5.ss.model.ClassInfo$1.apply(ClassInfo.java:92) at com.google.common.collect.Iterators$8.transform(Iterators.java:817) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:674) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at net.md_5.ss.remapper.EnhancedRemapper.findFieldDeclarer(EnhancedRemapper.java:45) at net.md_5.ss.remapper.EnhancedRemapper.mapFieldName(EnhancedRemapper.java:127) at net.md_5.ss.remapper.ClassRemapper.visitField(ClassRemapper.java:71) at org.objectweb.asm.ClassReader.readField(ClassReader.java:768) at org.objectweb.asm.ClassReader.accept(ClassReader.java:689) at org.objectweb.asm.ClassReader.accept(ClassReader.java:506) at net.md_5.ss.model.ClassInfo.remap(ClassInfo.java:120) at net.md_5.ss.SpecialSource.map(SpecialSource.java:96) at net.md_5.ss.SpecialSource.main(SpecialSource.java:44) Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [java, -jar, BuildData/bin/SpecialSource-2.jar, map, -i, work/minecraft_server.1.11.2.jar, -m, BuildData/mappings/bukkit-1.11.2-cl.csrg, -o, work/mapped.22de4839.jar-cl] at org.spigotmc.builder.Builder.runProcess(Builder.java:561) at org.spigotmc.builder.Builder.main(Builder.java:319)