FIR: convert Java type parameter bounds before reading annotations

This avoids a crash due to circular class references through annotation
arguments.
This commit is contained in:
pyos
2022-09-15 11:48:33 +02:00
committed by teamcity
parent 04dae17333
commit 5ba76ee757
11 changed files with 108 additions and 12 deletions
@@ -3067,6 +3067,11 @@ public class JvmRuntimeDescriptorLoaderTestGenerated extends AbstractJvmRuntimeD
runTest("compiler/testData/loadJava/compiledJava/RecursiveWildcardUpperBound.java");
}
@TestMetadata("ReferenceCycleThroughAnnotation.java")
public void testReferenceCycleThroughAnnotation() throws Exception {
runTest("compiler/testData/loadJava/compiledJava/ReferenceCycleThroughAnnotation.java");
}
@TestMetadata("RemoveRedundantProjectionKind.java")
public void testRemoveRedundantProjectionKind() throws Exception {
runTest("compiler/testData/loadJava/compiledJava/RemoveRedundantProjectionKind.java");