JDK-8159438 : java/security/MessageDigest/UnsupportedProvider.java failed with "SHA-3 should be supported by OracleUcrypto provider"
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2016-06-14
  • Updated: 2019-02-11
  • Resolved: 2019-02-11
Related Reports
Relates :  
Description
Test: java/security/MessageDigest/UnsupportedProvider.java

Platform:
javatestOS=SunOS 5.12 (amd64)
javatestVersion=4.4
jtregVersion=jtreg 4.2 fcs b02

LOG:
java.lang.RuntimeException: SHA-3 should be supported by OracleUcrypto provider, got unexpected NoSuchAlgorithmException
	at UnsupportedProvider.main(UnsupportedProvider.java:56)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
	at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test

result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: SHA-3 should be supported by OracleUcrypto provider, got unexpected NoSuchAlgorithmException


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: SHA-3 should be supported by OracleUcrypto provider, got unexpected NoSuchAlgorithmException

Analysis:
The condition which verify the platform for SHA-3 support need to be reconsidered.
Comments
This should be an infra issue on Solaris.
11-02-2019

Set the fixVersion to 9 based on dueDate set.
30-06-2016