[aarch64-port-dev ] [RFR] [8u] 8u252-b03 Upstream Sync

Andrew Hughes gnu.andrew at redhat.com
Fri Feb 21 18:28:36 UTC 2020


Webrevs: https://cr.openjdk.java.net/~andrew/shenandoah-8/u252-b03/

Merge changesets:
http://cr.openjdk.java.net/~andrew/shenandoah-8/u252-b03/corba/merge.changeset
http://cr.openjdk.java.net/~andrew/shenandoah-8/u252-b03/jaxp/merge.changeset
http://cr.openjdk.java.net/~andrew/shenandoah-8/u252-b03/jaxws/merge.changeset
http://cr.openjdk.java.net/~andrew/shenandoah-8/u252-b03/jdk/merge.changeset
http://cr.openjdk.java.net/~andrew/shenandoah-8/u252-b03/hotspot/merge.changeset
http://cr.openjdk.java.net/~andrew/shenandoah-8/u252-b03/langtools/merge.changeset
http://cr.openjdk.java.net/~andrew/shenandoah-8/u252-b03/nashorn/merge.changeset
http://cr.openjdk.java.net/~andrew/shenandoah-8/u252-b03/root/merge.changeset

Changes in aarch64-shenandoah-jdk8u252-b03:
  - S8005819: Support cross-realm MSSFU
  - S8046724: XML Signature ECKeyValue elements cannot be marshalled or
unmarshalled
  - S8079140: IgnoreAllErrorHandler should use doPrivileged when it
reads system properties
  - S8134579: [TESTBUG] Some bmi tests fail if
can_access_local_variables is on.
  - S8144093: JEP 244/8051498 - TLS Application-Layer Protocol
Negotiation Extension
  - S8145055: Marlin renderer causes unaligned write accesses
  - S8145849: ALPN: getHandshakeApplicationProtocol() always return null
  - S8146293: Add support for RSASSA-PSS Signature algorithm
  - S8158978: ALPN not working when values are set directly on a
SSLServerSocket
  - S8162723: Array index overflow in Base64 utility class
  - S8170282: Enable ALPN parameters to be supplied during the TLS handshake
  - S8171443: (spec) An ALPN callback function may also ignore ALPN
  - S8175029: StackOverflowError in X509CRL and
X509Certificate.verify(PublicKey, Provider)
  - S8200400: Restrict Sasl mechanisms
  - S8205445: Add RSASSA-PSS Signature support to SunMSCAPI
  - S8205720: KeyFactory#getKeySpec and translateKey throws
NullPointerException with Invalid key
  - S8206171: Signature#getParameters for RSASSA-PSS throws
ProviderException when not initialized
  - S8213009: Refactoring existing SunMSCAPI classes
  - S8213010: Supporting keys created with certmgr.exe
  - S8214096: sun.security.util.SignatureUtil passes null parameter, so
JCE validation fails
  - S8215694: keytool cannot generate RSASSA-PSS certificates
  - S8216039: TLS with BC and RSASSA-PSS breaks ECDHServerKeyExchange
  - S8221407: Windows 32bit build error in libsunmscapi/security.cpp
  - S8223003: SunMSCAPI keys are not cleaned up
  - S8223063: Support CNG RSA keys
  - S8223158: Docked MacBook cannot start any Java Swing applications
  - S8225180: SignedObject with invalid Key not throwing the
InvalidKeyException in Windows
  - S8225392: Comparison builds are failing due to cacerts file
  - S8225745: NoSuchAlgorithmException exception for SHA256withECDSA
with RSASSA-PSS support
  - S8229767: Typo in java.security: Sasl.createClient and Sasl.createServer
  - S8230977: JEP 244/8051498 - TLS Application-Layer Protocol
Negotiation Extension (Java SE 8)
  - S8230978: Add support for RSASSA-PSS Signature algorithm (Java SE 8)
  - S8232019: Add LuxTrust certificate updates to the existing root program
  - S8233223: Add Amazon Root CA certificates
  - S8234245: sun/security/lib/cacerts/VerifyCACerts.java fails due to
wrong checksum
  - S8236470: Deal with ECDSA using ecdsa-with-SHA2 plus hash algorithm
as AlgorithmId
  - S8238502: sunmscapi.dll causing EXCEPTION_ACCESS_VIOLATION

Main issue of note:
None, clean merge (nearly all changes are in the JDK repo)

diffstat for root
 b/.hgtags |    1 +
 1 file changed, 1 insertion(+)

diffstat for corba
 b/.hgtags |    1 +
 1 file changed, 1 insertion(+)

diffstat for jaxp
 b/.hgtags |    1 +
 1 file changed, 1 insertion(+)

diffstat for jaxws
 b/.hgtags |    1 +
 1 file changed, 1 insertion(+)

diffstat for langtools
 b/.hgtags |    1 +
 1 file changed, 1 insertion(+)

diffstat for nashorn
 b/.hgtags |    1 +
 1 file changed, 1 insertion(+)

diffstat for jdk
 b/.hgtags
                       |    1
 b/make/data/cacerts/amazonrootca1
                       |   27
 b/make/data/cacerts/amazonrootca2
                       |   38
 b/make/data/cacerts/amazonrootca3
                       |   19
 b/make/data/cacerts/amazonrootca4
                       |   20
 b/make/data/cacerts/luxtrustglobalroot2ca
                       |   40
 b/make/lib/SecurityLibraries.gmk
                       |    4
 b/make/src/classes/build/tools/generatecacerts/GenerateCacerts.java
                       |  113
 b/src/macosx/native/sun/java2d/opengl/CGLGraphicsConfig.m
                       |   14
 b/src/share/classes/com/sun/crypto/provider/OAEPParameters.java
                       |    6
 b/src/share/classes/com/sun/crypto/provider/RSACipher.java
                       |   14
 b/src/share/classes/com/sun/crypto/provider/SunJCE.java
                       |    6
 b/src/share/classes/com/sun/org/apache/xml/internal/security/utils/Base64.java                |   10
 b/src/share/classes/com/sun/org/apache/xml/internal/security/utils/IgnoreAllErrorHandler.java |   23
 b/src/share/classes/java/security/Signature.java
                       |  270 +-
 b/src/share/classes/java/security/SignatureSpi.java
                       |  104
 b/src/share/classes/java/security/cert/X509CRL.java
                       |   35
 b/src/share/classes/java/security/cert/X509Certificate.java
                       |   27
 b/src/share/classes/java/security/interfaces/RSAKey.java
                       |   23
 b/src/share/classes/java/security/interfaces/RSAMultiPrimePrivateCrtKey.java                  |    6
 b/src/share/classes/java/security/interfaces/RSAPrivateCrtKey.java
                       |    5
 b/src/share/classes/java/security/interfaces/package-info.java
                       |    4
 b/src/share/classes/java/security/spec/MGF1ParameterSpec.java
                       |   54
 b/src/share/classes/java/security/spec/PSSParameterSpec.java
                       |  144 -
 b/src/share/classes/java/security/spec/RSAKeyGenParameterSpec.java
                       |   33
 b/src/share/classes/java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java                    |  152 -
 b/src/share/classes/java/security/spec/RSAOtherPrimeInfo.java
                       |   13
 b/src/share/classes/java/security/spec/RSAPrivateCrtKeySpec.java
                       |   46
 b/src/share/classes/java/security/spec/RSAPrivateKeySpec.java
                       |   32
 b/src/share/classes/java/security/spec/RSAPublicKeySpec.java
                       |   34
 b/src/share/classes/java/security/spec/package-info.java
                       |    4
 b/src/share/classes/javax/crypto/Cipher.java
                       |    8
 b/src/share/classes/javax/crypto/spec/OAEPParameterSpec.java
                       |   37
 b/src/share/classes/javax/crypto/spec/PSource.java
                       |   14
 b/src/share/classes/javax/crypto/spec/package.html
                       |    3
 b/src/share/classes/javax/net/ssl/SSLEngine.java
                       |  142 +
 b/src/share/classes/javax/net/ssl/SSLParameters.java
                       |   85
 b/src/share/classes/javax/net/ssl/SSLSocket.java
                       |  142 +
 b/src/share/classes/javax/security/sasl/Sasl.java
                       |   51
 b/src/share/classes/org/jcp/xml/dsig/internal/dom/DOMKeyValue.java
                       |  222 +
 b/src/share/classes/sun/java2d/marlin/MarlinCache.java
                       |   25
 b/src/share/classes/sun/java2d/marlin/MarlinConst.java
                       |    2
 b/src/share/classes/sun/misc/JavaSecuritySignatureAccess.java
                       |   43
 b/src/share/classes/sun/misc/SharedSecrets.java
                       |   15
 b/src/share/classes/sun/security/ec/CurveDB.java
                       |   21
 b/src/share/classes/sun/security/ec/ECDSASignature.java
                       |  125 -
 b/src/share/classes/sun/security/krb5/KrbTgsRep.java
                       |    9
 b/src/share/classes/sun/security/krb5/internal/CredentialsUtil.java
                       |  215 +
 b/src/share/classes/sun/security/krb5/internal/Krb5.java
                       |    1
 b/src/share/classes/sun/security/krb5/internal/PAForUserEnc.java
                       |    4
 b/src/share/classes/sun/security/krb5/internal/PaPacOptions.java
                       |  185 +
 b/src/share/classes/sun/security/pkcs/SignerInfo.java
                       |   33
 b/src/share/classes/sun/security/pkcs10/PKCS10.java
                       |   30
 b/src/share/classes/sun/security/pkcs11/P11Key.java
                       |   15
 b/src/share/classes/sun/security/pkcs11/P11RSAKeyFactory.java
                       |    7
 b/src/share/classes/sun/security/pkcs11/P11Signature.java
                       |   29
 b/src/share/classes/sun/security/provider/DSA.java
                       |   18
 b/src/share/classes/sun/security/provider/SHA5.java
                       |   38
 b/src/share/classes/sun/security/provider/SunEntries.java
                       |   11
 b/src/share/classes/sun/security/rsa/MGF1.java
                       |   94
 b/src/share/classes/sun/security/rsa/PSSParameters.java
                       |  274 ++
 b/src/share/classes/sun/security/rsa/RSAKeyFactory.java
                       |  200 +
 b/src/share/classes/sun/security/rsa/RSAKeyPairGenerator.java
                       |   56
 b/src/share/classes/sun/security/rsa/RSAPSSSignature.java
                       |  619 +++++
 b/src/share/classes/sun/security/rsa/RSAPadding.java
                       |   73
 b/src/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java
                       |   97
 b/src/share/classes/sun/security/rsa/RSAPrivateKeyImpl.java
                       |   45
 b/src/share/classes/sun/security/rsa/RSAPublicKeyImpl.java
                       |   90
 b/src/share/classes/sun/security/rsa/RSASignature.java
                       |   58
 b/src/share/classes/sun/security/rsa/RSAUtil.java
                       |  162 +
 b/src/share/classes/sun/security/rsa/SunRsaSignEntries.java
                       |   40
 b/src/share/classes/sun/security/ssl/ALPNExtension.java
                       |  168 +
 b/src/share/classes/sun/security/ssl/Alerts.java
                       |    8
 b/src/share/classes/sun/security/ssl/CipherSuite.java
                       |  893 ++++---
 b/src/share/classes/sun/security/ssl/ClientHandshaker.java
                       |   51
 b/src/share/classes/sun/security/ssl/ExtensionType.java
                       |   10
 b/src/share/classes/sun/security/ssl/HandshakeMessage.java
                       |    7
 b/src/share/classes/sun/security/ssl/Handshaker.java
                       |   47
 b/src/share/classes/sun/security/ssl/HelloExtensions.java
                       |    9
 b/src/share/classes/sun/security/ssl/RSASignature.java
                       |   15
 b/src/share/classes/sun/security/ssl/SSLEngineImpl.java
                       |   53
 b/src/share/classes/sun/security/ssl/SSLServerSocketImpl.java
                       |   10
 b/src/share/classes/sun/security/ssl/SSLSocketImpl.java
                       |   57
 b/src/share/classes/sun/security/ssl/ServerHandshaker.java
                       |   74
 b/src/share/classes/sun/security/ssl/SunJSSE.java
                       |    6
 b/src/share/classes/sun/security/tools/keytool/CertAndKeyGen.java
                       |   17
 b/src/share/classes/sun/security/tools/keytool/Main.java
                       |   39
 b/src/share/classes/sun/security/util/ECUtil.java
                       |   77
 b/src/share/classes/sun/security/util/SecurityProviderConstants.java
                       |    7
 b/src/share/classes/sun/security/util/SignatureUtil.java
                       |  171 +
 b/src/share/classes/sun/security/x509/AlgorithmId.java
                       |  169 +
 b/src/share/classes/sun/security/x509/X509CRLImpl.java
                       |   56
 b/src/share/classes/sun/security/x509/X509CertImpl.java
                       |  117 -
 b/src/share/lib/security/java.security-aix
                       |   18
 b/src/share/lib/security/java.security-linux
                       |   18
 b/src/share/lib/security/java.security-macosx
                       |   18
 b/src/share/lib/security/java.security-solaris
                       |   18
 b/src/share/lib/security/java.security-windows
                       |   18
 b/src/windows/classes/sun/security/mscapi/CKey.java
                       |  158 -
 b/src/windows/classes/sun/security/mscapi/CKeyPair.java
                       |   23
 b/src/windows/classes/sun/security/mscapi/CKeyPairGenerator.java
                       |  139 -
 b/src/windows/classes/sun/security/mscapi/CKeyStore.java
                       |  203 -
 b/src/windows/classes/sun/security/mscapi/CPrivateKey.java
                       |   67
 b/src/windows/classes/sun/security/mscapi/CPublicKey.java
                       |  292 +-
 b/src/windows/classes/sun/security/mscapi/CRSACipher.java
                       |   30
 b/src/windows/classes/sun/security/mscapi/CSignature.java
                       |  782 +++++-
 b/src/windows/classes/sun/security/mscapi/SunMSCAPI.java
                       |   83
 b/src/windows/native/sun/security/mscapi/security.cpp
                       | 1144 ++++++----
 b/test/com/sun/crypto/provider/Cipher/RSA/TestOAEP.java
                       |   50
 b/test/com/sun/crypto/provider/Cipher/RSA/TestOAEPPadding.java
                       |   16
 b/test/com/sun/crypto/provider/Cipher/RSA/TestOAEPParameterSpec.java
                       |    6
 b/test/com/sun/crypto/provider/Cipher/RSA/TestOAEPWithParams.java
                       |    8
 b/test/java/security/KeyPairGenerator/FinalizeHalf.java
                       |    4
 b/test/java/security/Signature/Offsets.java
                       |   25
 b/test/java/security/Signature/SignatureGetInstance.java
                       |  238 ++
 b/test/java/security/SignedObject/Chain.java
                       |   73
 b/test/java/security/cert/X509CRL/VerifyDefault.java
                       |  133 +
 b/test/java/security/cert/X509Certificate/VerifyDefault.java
                       |  139 +
 b/test/java/security/testlibrary/CertUtils.java
                       |  103
 b/test/javax/security/sasl/Sasl/DisabledMechanisms.java
                       |   85
 b/test/javax/xml/crypto/dsig/ErrorHandlerPermissions.java
                       |  121 +
 b/test/javax/xml/crypto/dsig/ErrorHandlerPermissions.policy
                       |    5
 b/test/javax/xml/crypto/dsig/GenerationTests.java
                       |   75
 b/test/javax/xml/crypto/dsig/KeySelectors.java
                       |    7
 b/test/javax/xml/crypto/dsig/ValidationTests.java
                       |    5
 b/test/javax/xml/crypto/dsig/data/signature-enveloping-p256-sha1.xml
                       |    3
 b/test/javax/xml/crypto/dsig/data/signature-external-rsa.xml
                       |    3
 b/test/lib/jdk/test/lib/SigTestUtil.java
                       |  150 +
 b/test/lib/testlibrary/jdk/testlibrary/security/DerUtils.java
                       |  117 +
 b/test/sun/security/ec/SignedObjectChain.java
                       |    5
 b/test/sun/security/krb5/auto/KDC.java
                       |    3
 b/test/sun/security/krb5/auto/ReferralsTest.java
                       |  129 -
 b/test/sun/security/lib/cacerts/VerifyCACerts.java
                       |   22
 b/test/sun/security/mscapi/InteropWithSunRsaSign.java
                       |  171 +
 b/test/sun/security/mscapi/KeyAlgorithms.java
                       |   79
 b/test/sun/security/mscapi/NullKey.java
                       |   55
 b/test/sun/security/mscapi/SignedObjectChain.java
                       |    5
 b/test/sun/security/mscapi/VeryLongAlias.java
                       |  134 +
 b/test/sun/security/provider/MessageDigest/SHA512.java
                       |   70
 b/test/sun/security/rsa/SigGen15_186-3.txt
                       |  341 ++
 b/test/sun/security/rsa/SigGen15_186-3_TruncatedSHAs.txt
                       |  233 ++
 b/test/sun/security/rsa/SigRecord.java
                       |  198 +
 b/test/sun/security/rsa/SignatureOffsets.java
                       |    8
 b/test/sun/security/rsa/SignatureTest.java
                       |   95
 b/test/sun/security/rsa/SignedObjectChain.java
                       |   10
 b/test/sun/security/rsa/TestKeyPairGenerator.java
                       |   45
 b/test/sun/security/rsa/TestSigGen15.java
                       |  125 +
 b/test/sun/security/rsa/TestSignatures.java
                       |   56
 b/test/sun/security/rsa/pss/InitAgain.java
                       |   69
 b/test/sun/security/rsa/pss/PSSParametersTest.java
                       |  123 +
 b/test/sun/security/rsa/pss/SigGenPSS_186-3.txt
                       |  420 +++
 b/test/sun/security/rsa/pss/SigGenPSS_186-3_TruncatedSHAs.txt
                       |  257 ++
 b/test/sun/security/rsa/pss/SigRecord.java
                       |  210 +
 b/test/sun/security/rsa/pss/SignatureTest2.java
                       |  200 +
 b/test/sun/security/rsa/pss/SignatureTestPSS.java
                       |  193 +
 b/test/sun/security/rsa/pss/TestPSSKeySupport.java
                       |  152 +
 b/test/sun/security/rsa/pss/TestSigGenPSS.java
                       |  155 +
 b/test/sun/security/ssl/javax/net/ssl/ALPN/MyX509ExtendedKeyManager.java                      |  138 +
 b/test/sun/security/ssl/javax/net/ssl/ALPN/SSLEngineAlpnTest.java
                       |  583 +++++
 b/test/sun/security/ssl/javax/net/ssl/ALPN/SSLServerSocketAlpnTest.java
                      |  567 ++++
 b/test/sun/security/ssl/javax/net/ssl/ALPN/SSLSocketAlpnTest.java
                       |  563 ++++
 b/test/sun/security/ssl/rsa/SignedObjectChain.java
                       |    7
 b/test/sun/security/ssl/templates/SSLEngineTemplate.java
                       |   20
 b/test/sun/security/ssl/templates/SSLSocketSSLEngineTemplate.java
                       |   18
 b/test/sun/security/ssl/templates/SSLSocketTemplate.java
                       |    8
 b/test/sun/security/tools/keytool/ListOrder.java
                       |   64
 b/test/sun/security/tools/keytool/PSS.java
                       |  104
 b/test/sun/security/util/misc/SetNullSigParams.java
                       |   77
 b/test/sun/security/x509/X509CertImpl/ECSigParamsVerifyWithCert.java
                       |   91
 169 files changed, 14372 insertions(+), 2528 deletions(-)

diffstat for hotspot
 b/.hgtags                                                 |    1
 b/test/compiler/intrinsics/bmi/TestAndnI.java             |   36
+++++++++++---
 b/test/compiler/intrinsics/bmi/TestAndnL.java             |   36
+++++++++++---
 b/test/compiler/intrinsics/bmi/verifycode/AndnTestI.java  |   14 ++---
 b/test/compiler/intrinsics/bmi/verifycode/AndnTestL.java  |   14 ++---
 b/test/compiler/intrinsics/bmi/verifycode/LZcntTestI.java |    2
 b/test/compiler/intrinsics/bmi/verifycode/LZcntTestL.java |    2
 b/test/compiler/intrinsics/bmi/verifycode/TZcntTestI.java |    2
 b/test/compiler/intrinsics/bmi/verifycode/TZcntTestL.java |    2
 9 files changed, 83 insertions(+), 26 deletions(-)


Successfully built on x86, x86_64, s390, s390x, ppc, ppc64,
ppc64le & aarch64.

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



More information about the aarch64-port-dev mailing list