--- old/src/share/classes/sun/security/util/LegacyAlgorithmConstraints.java 2020-12-03 17:39:32.646678868 +0300 +++ new/src/share/classes/sun/security/util/LegacyAlgorithmConstraints.java 2020-12-03 17:39:32.518680070 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,8 +28,8 @@ import java.security.AlgorithmParameters; import java.security.CryptoPrimitive; import java.security.Key; +import java.util.List; import java.util.Set; -import static sun.security.util.AbstractAlgorithmConstraints.getAlgorithms; /** * Algorithm constraints for legacy algorithms. @@ -40,7 +40,7 @@ public final static String PROPERTY_TLS_LEGACY_ALGS = "jdk.tls.legacyAlgorithms"; - private final String[] legacyAlgorithms; + private final List legacyAlgorithms; public LegacyAlgorithmConstraints(String propertyName, AlgorithmDecomposer decomposer) {