File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test/jdk/sun/tools/jstatd Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11#
2- # Copyright (c) 2011, 2020 , Oracle and/or its affiliates. All rights reserved.
2+ # Copyright (c) 2011, 2021 , Oracle and/or its affiliates. All rights reserved.
33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44#
55# This code is free software; you can redistribute it and/or modify it
@@ -27,4 +27,5 @@ include LauncherCommon.gmk
2727
2828$(eval $(call SetupBuildLauncher, jstatd, \
2929 MAIN_CLASS := sun.tools.jstatd.Jstatd, \
30+ JAVA_ARGS := -Djava.security.manager=allow, \
3031))
Original file line number Diff line number Diff line change @@ -253,7 +253,6 @@ private void cleanUpThread(ProcessThread thread) throws Throwable {
253253 private String [] getJstatdCmd () throws Exception {
254254 JDKToolLauncher launcher = JDKToolLauncher .createUsingTestJDK ("jstatd" );
255255 launcher .addVMArg ("-XX:+UsePerfData" );
256- launcher .addVMArg ("-Djava.security.manager=allow" );
257256 String testSrc = System .getProperty ("test.src" );
258257 File policy = new File (testSrc , "all.policy" );
259258 assertTrue (policy .exists () && policy .isFile (),
You can’t perform that action at this time.
0 commit comments