aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/LegacyCompilationSupport.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/LegacyCompilationSupport.java b/src/main/java/com/google/devtools/build/lib/rules/objc/LegacyCompilationSupport.java
index e65b5597f9..435070161e 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/LegacyCompilationSupport.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/LegacyCompilationSupport.java
@@ -598,10 +598,8 @@ public class LegacyCompilationSupport extends CompilationSupport {
? StrippingType.DYNAMIC_LIB
: StrippingType.DEFAULT;
} catch (CommandLineExpansionException e) {
- // TODO(b/64941219): This code should be rewritten to not expand the command line
- // in the analysis phase
// This can't actually happen, because the command lines used by this class do
- // not throw.
+ // not throw. This class is slated for deletion, so throwing an assertion is good enough.
throw new AssertionError("Cannot fail to expand command line but did.", e);
}
}