Pass reporter when running BackportedMethodList
Bug: b/319604744
Change-Id: Iec3beea2ada2ba10aa26d04d9d728e0a672bd7b7
diff --git a/src/main/java/com/android/tools/r8/BackportedMethodListCommand.java b/src/main/java/com/android/tools/r8/BackportedMethodListCommand.java
index c79e8fe..4fa1ee1 100644
--- a/src/main/java/com/android/tools/r8/BackportedMethodListCommand.java
+++ b/src/main/java/com/android/tools/r8/BackportedMethodListCommand.java
@@ -256,7 +256,7 @@
StringResource desugaredLibrarySpecificationResource =
desugaredLibrarySpecificationResources.get(0);
return DesugaredLibrarySpecificationParser.parseDesugaredLibrarySpecification(
- desugaredLibrarySpecificationResource, factory, null, false, getMinApiLevel());
+ desugaredLibrarySpecificationResource, factory, reporter, false, getMinApiLevel());
}
/** Output file for the backported method list */