[FE] Disable SKIP_DEBUG flag when building java model from binaries
This is needed to avoid skipping jvm annotations with names of function parameters
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ class BinaryJavaClass(
|
|||||||
try {
|
try {
|
||||||
ClassReader(classContent ?: virtualFile.contentsToByteArray()).accept(
|
ClassReader(classContent ?: virtualFile.contentsToByteArray()).accept(
|
||||||
this,
|
this,
|
||||||
ClassReader.SKIP_CODE or ClassReader.SKIP_DEBUG or ClassReader.SKIP_FRAMES
|
ClassReader.SKIP_CODE or ClassReader.SKIP_FRAMES
|
||||||
)
|
)
|
||||||
} catch (e: Throwable) {
|
} catch (e: Throwable) {
|
||||||
throw IllegalStateException("Could not read class: $virtualFile", e)
|
throw IllegalStateException("Could not read class: $virtualFile", e)
|
||||||
|
|||||||
Reference in New Issue
Block a user