JVM_IR KT-41214 emit PermittedSubclasses on JDK17+
This commit is contained in:
committed by
TeamCityServer
parent
dca4a8e722
commit
146f0f4904
+6
@@ -165,6 +165,12 @@ class BytecodeListingTextCollectingVisitor(
|
||||
}
|
||||
}
|
||||
|
||||
override fun visitPermittedSubclass(permittedSubclass: String?) {
|
||||
if (permittedSubclass != null) {
|
||||
declarationsInsideClass.add(Declaration("permittedSubclass: $permittedSubclass"))
|
||||
}
|
||||
}
|
||||
|
||||
override fun visitMethod(access: Int, name: String, desc: String, signature: String?, exceptions: Array<out String>?): MethodVisitor? {
|
||||
if (!filter.shouldWriteMethod(access, name, desc)) {
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user