< prev index next >

src/java.base/share/classes/sun/security/util/AbstractAlgorithmConstraints.java

Print this page

        

*** 23,32 **** --- 23,35 ---- * questions. */ package sun.security.util; + import jdk.internal.event.EventHelper; + import jdk.internal.event.SecurityPropertyEvent; + import java.security.AccessController; import java.security.AlgorithmConstraints; import java.security.PrivilegedAction; import java.security.Security; import java.util.Set;
*** 68,77 **** --- 71,87 ---- // map the disabled algorithms if (algorithmsInProperty == null) { algorithmsInProperty = new String[0]; } + + SecurityPropertyEvent spe = new SecurityPropertyEvent(); + if (spe.isEnabled() || EventHelper.isLoggingSecurity()) { + EventHelper.commitSecurityPropertyEvent(spe, propertyName, property); + spe.commit(); + } + return algorithmsInProperty; } static boolean checkAlgorithm(String[] algorithms, String algorithm, AlgorithmDecomposer decomposer) {
< prev index next >