On Solaris, the JDK build contains incorrect content for the default.policy file. It should include the content inside <jdk ws>/src/java.base/solaris/lib/security/default.policy, but it does not. This leads to the failure of the java/lang/SecurityManager/CheckSecurityProvider.java regression test as OracleUcrypto provider cannot be instantiated due to lack of permission.
This seems to relate to "8159752: Grant de-privileged module permissions by default with java.security.policy override option" where the Ucrypto provider permission entry is moved to a Solaris specific sub-directory which make files misses the logic to handle.