--- a/langtools/test/tools/javac/api/6608214/T6608214.java Tue Nov 18 15:25:18 2014 -0800
+++ b/langtools/test/tools/javac/api/6608214/T6608214.java Wed Dec 03 14:25:46 2014 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -47,8 +47,7 @@
}
};
List<? extends JavaFileObject> files = Arrays.asList(sfo);
- String bootPath = System.getProperty("sun.boot.class.path");
- List<String> opts = Arrays.asList("-bootclasspath", bootPath, "-Xjcov");
+ List<String> opts = Arrays.asList("-Xjcov");
JavaCompiler tool = ToolProvider.getSystemJavaCompiler();
JavacTask ct = (JavacTask)tool.getTask(null, null, null,opts,null,files);
ct.analyze();