8006723: sjavac test fails to compile on clean build

Reviewed-by: ksrini
This commit is contained in:
Jonathan Gibbons 2013-01-22 18:43:22 -08:00
parent 1f8b2abf80
commit 7bdddc8471
2 changed files with 67 additions and 17 deletions

View file

@ -21,16 +21,6 @@
* questions.
*/
/*
* @test
* @summary Test all aspects of sjavac.
*
* @bug 8004658
* @summary Add internal smart javac wrapper to solve JEP 139
*
* @run main SJavac
*/
import java.util.*;
import java.io.*;
import java.net.*;
@ -44,13 +34,6 @@ public
class SJavac {
public static void main(String... args) throws Exception {
URL url = SJavac.class.getClassLoader().getResource("com/sun/tools/sjavac/Main.class");
if (url == null) {
// No sjavac in the classpath.
System.out.println("pass by default");
return;
}
SJavac s = new SJavac();
s.test();
}