Testsuite name: jdk_core
Test name(s): sun/security/krb5/auto/UnboundSSL.java
Product(s) tested: JDK 8 u112 b06
OS/architecture: Solaris sparcv9 64 bit
Reproducible: Always
Is it a Regression: No, test also failed for JDK 8 u112 b01 where it was last modified, the test is not present in workspace before this. (Checked: 8u101b52, 8u92b34 , 8u91b60 workspaces) . Modified test (from JDK 8 u112 b06) fails with jdk 8u101b05
Is it a platform specific issue: Yes, test passed on windows and linux for JDK 8 u112 b06
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No
[If new configuration testing] Issue specific to execution mode or OS/browser version: NO
Exception/Error from Log:
----------System.out:(0/0)----------
----------System.err:(46/2880)----------
java.lang.ExceptionInInitializerError
at UnboundSSL.start(UnboundSSL.java:78)
at UnboundSSL.main(UnboundSSL.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.security.ProviderException: Error parsing configuration
at sun.security.pkcs11.Config.getConfig(Config.java:88)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:129)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:224)
at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
at sun.security.jca.ProviderList.getProvider(ProviderList.java:233)
at sun.security.jca.ProviderList$3.get(ProviderList.java:148)
at sun.security.jca.ProviderList$3.get(ProviderList.java:143)
at java.util.AbstractList$Itr.next(AbstractList.java:358)
at java.security.SecureRandom.getPrngAlgorithm(SecureRandom.java:558)
at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:194)
at java.security.SecureRandom.<init>(SecureRandom.java:162)
at KDC.<clinit>(KDC.java:127)
... 8 more
Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "/export/jdk/jdk1.8.0_112b06/jre/lib/security/sunpkcs11-solaris.cfg" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.FileInputStream.<init>(FileInputStream.java:127)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at sun.security.pkcs11.Config.<init>(Config.java:211)
at sun.security.pkcs11.Config.getConfig(Config.java:84)
... 27 more
JavaTest Message: Test threw exception: java.lang.ExceptionInInitializerError
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.ExceptionInInitializerError