| commit | 49d3bac1999ec8b612d27a95f624f386a0cacd1b | [log] [tgz] |
|---|---|---|
| author | Søren Gjesse <sgjesse@google.com> | Wed Mar 29 17:40:08 2023 +0200 |
| committer | Søren Gjesse <sgjesse@google.com> | Wed Mar 29 17:40:08 2023 +0200 |
| tree | cc72bf349edcc702ae0367297d1815a1e50a8dda | |
| parent | 8de329f1935f106d860223cfed8225f2389863ab [diff] |
Temporaly add public CompilationFailedException constructor Bug: b/275710239 Bug: b/275715936 Change-Id: I82518718853c2007918071b193973af2aca44a66
diff --git a/src/main/java/com/android/tools/r8/CompilationFailedException.java b/src/main/java/com/android/tools/r8/CompilationFailedException.java index 94c7fde..d618dff 100644 --- a/src/main/java/com/android/tools/r8/CompilationFailedException.java +++ b/src/main/java/com/android/tools/r8/CompilationFailedException.java
@@ -17,6 +17,12 @@ this.cancelled = cancelled; } + // TODO(b/275715936): Remove this again. + public CompilationFailedException(String message) { + super(message); + cancelled = false; + } + /** True if the compilation was cancelled by {@link CancelCompilationChecker} otherwise false. */ public boolean wasCancelled() { return cancelled;