< prev index next >
test/jdk/javax/management/security/SecurityTest.java
Print this page
rev 51731 : imported patch 8210732
@@ -25,11 +25,10 @@
* @test
* @bug 8058865
* @summary Checks various secure ways of connecting from remote jmx client
* @author Olivier Lagneau
* @modules java.management.rmi
- * @library /lib/testlibrary
* @library /test/lib
* @compile MBS_Light.java ServerDelegate.java TestSampleLoginModule.java
* @run main/othervm/timeout=300 -DDEBUG_STANDARD -Dusername=SQE_username -Dpassword=SQE_password SecurityTest -server -mapType x.password.file -client -mapType credentials
* @run main/othervm/timeout=300 -DDEBUG_STANDARD -Dusername=UNKNOWN_username -Dpassword=SQE_password SecurityTest -server -mapType x.password.file -client -mapType credentials -expectedThrowable java.lang.SecurityException
* @run main/othervm/timeout=300 -DDEBUG_STANDARD -Dusername=SQE_username -Dpassword=WRONG_password SecurityTest -server -mapType x.password.file -client -mapType credentials -expectedThrowable java.lang.SecurityException
@@ -396,11 +395,11 @@
System.out.println("SecurityTest::buildCommandLine: Start") ;
List<String> opts = new ArrayList<>();
opts.add(JDKToolFinder.getJDKTool("java"));
- opts.addAll(Arrays.asList(jdk.testlibrary.Utils.getTestJavaOpts()));
+ opts.addAll(Arrays.asList(jdk.test.lib.Utils.getTestJavaOpts()));
// We need to forward some properties to the client side
opts.add("-Dtest.src=" + System.getProperty("test.src"));
String usernameValue = System.getProperty(USERNAME_PROPERTY);
< prev index next >