#Test Results (version 2)
#Wed Apr 29 11:22:57 UTC 2020
#-----testdescription-----
$file=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/tests/api/java_rmi/server/RMIClassLoaderSpi/index.html
$root=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/tests
executeArgs=-TestCaseID ALL -TestURL $testURL
executeClass=javasoft.sqe.tests.api.java.rmi.server.RMIClassLoaderSpi.LoaderTests
executeLocks=java.lang.SecurityManager java.lang.System
id=Loader
keywords=positive runtime
source=LoaderTests.java
testingScope=java.rmi
title=tests default RMIClassLoaderSpi

#-----environment-----
command.testExecute.group=com.sun.jck.lib.multijvm.group.ExecCmd -MTASK_ -testTimeout $testTimeout -MCMD_ /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-11.0.8+1-197/solaris-sparcv9.jdk/jdk-11.0.8/bin/java -Djava.awt.headless\=true -XX\:MaxRAMPercentage\=2.27273 --add-modules java.xml.crypto --add-exports java.xml.crypto/org.jcp.xml.dsig.internal.dom\=ALL-UNNAMED -Xms32m -Xmx1024m -Djdk.attach.allowAttachSelf\=true ${jvmtiAgentOptions} -Xfuture $jdwpAgentOptions -classpath ${testSuiteRootDir}/lib/javatest.jar\:${testSuiteRootDir}/lib/jtjck.jar\:$additionalClassPath\:${testSuiteRootDir}/lib/extensions/JCK-extensions.jar $JPLISAgentOpts $JPLISAgent2Opts $jvmArgSplashOpt -Djava.security.policy\=${testSuiteRootDir}/lib/jck.policy -Djava.rmi.activation.port\=46897 -MTEST_ com.sun.jck.lib.ExecJCKTestSameJVMCmd -loadDir ${testSuiteRootDir}/classes\:$additionalLoadDirs $modulepathVmOpt $addModVmOpt $testExecuteTarget $testExecuteArgs
platform.fileSeparator=/
platform.pathSeparator=\:
testExecute.isGroupMode=true
workDirRootDir=/scratch/opt/mach5/mesos/work_dir/e023a105-0205-4329-b6d0-4a57d41cfda1/testoutput/test-support/jck_runtime_api_java_rmi

#-----testresult-----
description=file\:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/tests/api/java_rmi/server/RMIClassLoaderSpi/index.html\#Loader
end=Wed Apr 29 11\:22\:57 UTC 2020
environment=jck_runtime_solaris
execStatus=Failed. test cases\: 3; passed\: 2; failed\: 1; first test case failure\: loader0001
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
javatestOS=SunOS 5.11 (sparcv9)
javatestVersion=5.0
script=com.sun.jck.lib.JCKScript
sections=script_messages testExecute.group
start=Wed Apr 29 11\:22\:57 UTC 2020
test=api/java_rmi/server/RMIClassLoaderSpi/index.html\#Loader
timeoutSeconds=1200
totalTime=124
work=/scratch/opt/mach5/mesos/work_dir/e023a105-0205-4329-b6d0-4a57d41cfda1/testoutput/test-support/jck_runtime_api_java_rmi/api/java_rmi/server/RMIClassLoaderSpi

#section:script_messages
----------messages:(1/24)----------
Executing test class...

#section:testExecute.group
----------messages:(1/1417)----------
command: com.sun.jck.lib.multijvm.group.ExecCmd -MTASK_ -testTimeout 1200 -MCMD_ /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-11.0.8+1-197/solaris-sparcv9.jdk/jdk-11.0.8/bin/java -Djava.awt.headless=true -XX:MaxRAMPercentage=2.27273 --add-modules java.xml.crypto --add-exports java.xml.crypto/org.jcp.xml.dsig.internal.dom=ALL-UNNAMED -Xms32m -Xmx1024m -Djdk.attach.allowAttachSelf=true -Xfuture -classpath /scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/lib/jtjck.jar::/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/lib/extensions/JCK-extensions.jar -Djava.security.policy=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/lib/jck.policy -Djava.rmi.activation.port=46897 -MTEST_ com.sun.jck.lib.ExecJCKTestSameJVMCmd -loadDir /scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/classes: javasoft.sqe.tests.api.java.rmi.server.RMIClassLoaderSpi.LoaderTests -TestCaseID ALL -TestURL file:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/tests/api/java_rmi/server/RMIClassLoaderSpi/index.html#Loader
----------out1:(3/347)----------
loader0002: Passed. OKAY
loader0003: Passed. OKAY.
loader0001: Failed. Unexpected SecurityException: java.security.AccessControlException: access denied ("java.io.FilePermission" "/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/tests/api/java_rmi/server/RMIClassLoader/classes1/-" "read")
----------out2:(42/3579)----------
MultiJVM group agent ID: 6
testModuleFinder = null
testModuleName = null
rootModules = []
locations = [file:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/classes/]
chosen loader = java.net.URLClassLoader@5439d73a
chosen loader's parent = jdk.internal.loader.ClassLoaders$AppClassLoader@707f7052
executeArgs = [-TestCaseID, ALL, -TestURL, file:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/tests/api/java_rmi/server/RMIClassLoaderSpi/index.html#Loader]
java version "11.0.8-ea"
Java(TM) SE Runtime Environment (build 11.0.8-ea+1-LTS-197)
Java HotSpot(TM) 64-Bit Server VM (build 11.0.8-ea+1-LTS-197, mixed mode)

Will load classes from file:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/tests/api/java_rmi/server/RMIClassLoaderSpi/classes1/
java.security.AccessControlException: access denied ("java.io.FilePermission" "/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/tests/api/java_rmi/server/RMIClassLoader/classes1/-" "read")
	at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
	at java.base/java.security.AccessController.checkPermission(AccessController.java:897)
	at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
	at java.rmi/sun.rmi.server.LoaderHandler$Loader.checkPermissions(LoaderHandler.java:1176)
	at java.rmi/sun.rmi.server.LoaderHandler.getClassLoader(LoaderHandler.java:324)
	at java.rmi/java.rmi.server.RMIClassLoader$2.getClassLoader(RMIClassLoader.java:653)
	at javasoft.sqe.tests.api.java.rmi.server.RMIClassLoaderSpi.LoaderTests$1.run(LoaderTests.java:75)
	at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:281)
	at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:237)
	at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:159)
	at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:88)
	at javasoft.sqe.tests.api.java.rmi.server.RMIClassLoaderSpi.LoaderTests.loader0001(LoaderTests.java:86)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:404)
	at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:193)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:566)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:523)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:407)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:337)
	at com.sun.javatest.agent.Agent$Task$CommandExecutor$2.run(Agent.java:899)
	at java.base/java.lang.Thread.run(Thread.java:834)
result: Failed. test cases: 3; passed: 2; failed: 1; first test case failure: loader0001


test result: Failed. test cases: 3; passed: 2; failed: 1; first test case failure: loader0001