Any way to see the sources for org.jetbrains.asm4?

org.jetbrains.asm4 seems to be a wrapper oradapter or whatever for asm4, but some of the methods have different sigs and some of the return values are different in places. I am nto sure how much of what is true about asm carriers over for org.jetbrains.asm4.... there iosn't any javadoc and there isn't any source.. is the source avaialbe?

0

Unfortunately https://github.com/JetBrains/intellij-community/blob/135/lib/src/asm4-src.zip doesn't match https://github.com/JetBrains/intellij-community/blob/135/lib/asm4-all.jar, the jar is more recent and the source package doesn't compile (some classes declare "package org.jetbrains.asm" instead of "package org.jetbrains.asm4").

Is there another location where the source could be found? That would greatly help for bootstrapping Kotlin in Debian.

0

Those links point to a version of ASM from many years ago. The current sources of the ASM dependency can be found under https://github.com/jetbrains/intellij-deps-asm

0

Thank you for the link, this version can't be used to build the old versions of the IntelliJ SDK but it reveals what was modified in ASM 4. It looks like asm4-all.jar was mostly ASM with the package relocated to org.jetbrains.asm4 and the ClassReader class modified to not throw an exception on unsupported class file formats. This is enough to build an old version of Kotlin with Java 8 and start the bootstrapping. Thank you for the help.

0

请先登录再写评论。