mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8006723: sjavac test fails to compile on clean build
Reviewed-by: ksrini
This commit is contained in:
parent
1f8b2abf80
commit
7bdddc8471
2 changed files with 67 additions and 17 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue