FalseHonesty
08/25/2020, 7:07 PMjava.lang.IllegalStateException: No module deserializer found for <library Gradle: net.minecraft:minecraftSrc:1.12.2> is a module[ModuleDescriptorImpl@5c013a11]
. I'm not sure what this means?udalov
javap
(probably with -v
for verbose) instead. It’s not as convenient, but is pretty fast if you’re used to it and it’s guaranteed to workFalseHonesty
08/25/2020, 7:49 PMFalseHonesty
08/25/2020, 7:51 PMudalov
xi
in the kotlin.Metadata
annotation on the class file. Using javap -v Some.class
, you can see this at the end:
RuntimeVisibleAnnotations:
0: #25(#26=[I#27,I#28,I#27],#29=[I#27,I#30,I#31],#32=I#33,#34=I#35,#36=[s#37],#38=[s#5,s#39,s#23,s#39])
kotlin.Metadata(
mv=[1,4,1]
bv=[1,0,3]
k=2
xi=16
d1=[...]
d2=[...]
)
If the value of xi & 16
is not zero, then the class file is compiled using the IR backend :). For example, 16 means that it is.
(As per https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/jvm/runtime/kotlin/Metadata.kt#L71)