Unverifiable warnings from open-interfaces are expected. Bug: b/251482856 Change-Id: Iffd41d7d26af0d542a1d7a042181e4908bff4f5f
diff --git a/src/test/java/com/android/tools/r8/CompileWithJdkClassFileProviderTest.java b/src/test/java/com/android/tools/r8/CompileWithJdkClassFileProviderTest.java index 301cebb..fe94b93 100644 --- a/src/test/java/com/android/tools/r8/CompileWithJdkClassFileProviderTest.java +++ b/src/test/java/com/android/tools/r8/CompileWithJdkClassFileProviderTest.java
@@ -101,7 +101,7 @@ .compileWithExpectedDiagnostics( diagnostics -> { diagnostics.assertWarningsMatch( - // TODO(b/251482856): Unexpected unverifiable code. + // The open-interfaces analysis will issue unverifiable code on missing class. diagnosticType(UnverifiableCfCodeDiagnostic.class), // TODO(b/175659048): This should likely be a desugar diagnostic. allOf(
diff --git a/src/test/java/com/android/tools/r8/graph/MissingClassThrowingTest.java b/src/test/java/com/android/tools/r8/graph/MissingClassThrowingTest.java index 78b83da..333ab92 100644 --- a/src/test/java/com/android/tools/r8/graph/MissingClassThrowingTest.java +++ b/src/test/java/com/android/tools/r8/graph/MissingClassThrowingTest.java
@@ -76,9 +76,7 @@ .compileWithExpectedDiagnostics( diagnostics -> diagnostics - .assertNoInfos() - // TODO(b/251482856): When missing class is not an error this throws - // for unverifiable code. Is that expected? + .assertOnlyErrors() .inspectErrors( diagnostic -> diagnostic