Remove support for -bootclasspath in javacopts
MOS_MIGRATED_REVID=151092346
@@ -27,7 +27,6 @@ import java.util.Collection;
import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
-import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@@ -109,7 +108,6 @@ public final class OptionsParser {
// otherwise we have to do something like adding a "--"
// terminator to the passed arguments.
collectFlagArguments(javacOpts, argQueue, "--");
- bootClassPathFromJavacOpts();
break;
case "--direct_dependency":
{
@@ -324,19 +322,6 @@ public final class OptionsParser {
postProcessors.put(processorName, arguments);
}
- // TODO(cushon): update Blaze to set --bootclasspath directly
- private void bootClassPathFromJavacOpts() {
- Iterator<String> it = javacOpts.iterator();
- while (it.hasNext()) {
- String curr = it.next();
- if (curr.equals("-bootclasspath") && it.hasNext()) {
- it.remove();
- bootClassPath = it.next();
- it.remove();
- }
- }
- }
-
public List<String> getJavacOpts() {
return javacOpts;
}
