mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8154190: Deprivilege java.compiler module
Reviewed-by: alanb, chegar, jjg
This commit is contained in:
parent
f5b6389682
commit
8c11293294
3 changed files with 63 additions and 13 deletions
|
@ -43,7 +43,7 @@ import toolbox.ToolBox;
|
|||
public class ToolProviderTest1 {
|
||||
public static void main(String... args) throws Exception {
|
||||
if (args.length > 0) {
|
||||
System.err.println(Class.forName(args[0], true, null));
|
||||
System.err.println(Class.forName(args[0], true, ClassLoader.getSystemClassLoader()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue