[RFR} [8u] JDK-8228440: TestAESCiphers tests fail with "access denied" trying to access ArrayUtil

Andrew John Hughes gnu.andrew at redhat.com
Fri Jul 19 16:16:08 UTC 2019


Webrev: https://cr.openjdk.java.net/~andrew/openjdk8/8228440/webrev.01/
Bug: https://bugs.openjdk.java.net/browse/JDK-8228440

This cleans up the backport of JDK-8179098 by moving the new ArrayUtil
methods (inside a new class, RangeUtil) and the Preconditions class into
the com.sun.crypto.provider class that makes use of them, avoiding the
need for such checks to cross two package boundaries (sun.security.util
& jdk.internal.util)

Ok to push?

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222
https://keybase.io/gnu_andrew



More information about the jdk8u-dev mailing list