218 Commits

Author SHA1 Message Date
Igor Ignatyev
f84b521220 8181761: add explicit @build actions for jdk.test.lib classes in all :tier2 tests
Reviewed-by: alanb
2017-06-12 12:43:26 -07:00
Igor Ignatyev
ff3aa035f3 8181335: remove packageless CompilerUtils
Reviewed-by: alanb
2017-06-06 19:54:08 -07:00
Igor Ignatyev
551c6fdad3 8180805: move RandomFactory to the top level testlibrary
Reviewed-by: bpb, rriggs
2017-05-30 21:14:45 -07:00
Igor Ignatyev
b3100eb84a 8180888: move jdk.testlibrary.JarUtils to the top level testlibrary
Reviewed-by: weijun
2017-05-30 21:07:08 -07:00
Igor Ignatyev
da6d0e38ee 8180895: java/security/AccessController/DoPrivAccompliceTest.java has to be improved
Reviewed-by: asmotrak
2017-05-26 22:30:19 -07:00
Amy Lu
c18fe9b250 8085814: Move stream test library to the jdk test library area
8173414: Some testng tests check nothing in java util stream

Reviewed-by: psandoz
2017-05-12 12:53:50 +08:00
Lana Steuck
5d5921732e Merge 2017-05-11 20:22:54 +00:00
Magnus Ihse Bursie
97df63049c 8179889: Fix typographic errors in copyright headers
Reviewed-by: erikj, dholmes
2017-05-09 12:57:30 +02:00
Lana Steuck
9d2c7ad695 Merge 2017-04-22 00:22:08 +00:00
Tim Du
2fab0a6db0 8178083: Remove intermittent key from java/security/SignedObject/Chain.java
Reviewed-by: xuelei
2017-04-14 00:05:54 -07:00
Lana Steuck
ae7df5fca9 Merge 2017-04-13 20:35:17 +00:00
Alan Bateman
02cfdc2061 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-04-07 08:05:54 +00:00
Sean Mullan
40eeacc9ca 8161973: PKIXRevocationChecker.getSoftFailExceptions() not working
Reviewed-by: xuelei
2017-04-06 16:21:05 -04:00
Sean Mullan
330b9195c9 8175029: StackOverflowError in X509CRL and X509Certificate.verify(PublicKey, Provider)
Reviewed-by: weijun, vinnie
2017-03-31 13:28:26 -04:00
Lana Steuck
e7a144b745 Merge 2017-03-16 20:46:19 +00:00
Artem Smotrakov
b2a42d78ef 8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows
Reviewed-by: weijun
2017-03-08 18:54:34 -08:00
Weijun Wang
5ff0126d19 8168410: Multiple JCK tests are failing due to SecurityException is not thrown
Reviewed-by: mullan
2017-02-15 21:46:50 +08:00
Alan Bateman
a4693ee7d2 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dfuchs, psandoz, mchung, alanb
2017-02-10 09:04:39 +00:00
Sean Mullan
d9d9d8701a 8055206: Update SecurityManager::checkPackageAccess to restrict non-exported JDK packages by default
Reviewed-by: mchung
2017-01-19 13:50:02 -05:00
Adam Petcher
85d15e6128 8170876: NPE in JCE engine classes with java.security.debug=provider
Reviewed-by: mullan
2016-12-20 17:13:34 -05:00
Adam Petcher
ef12502b69 8165751: NPE hit with java.security.debug=provider
Reviewed-by: mullan, weijun
2016-12-14 10:22:02 -05:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Sibabrata Sahoo
2034cb4c6e 8170247: java/security/SecureRandom/ApiTest fails when run with unlimited policy
Test was failing to handle expected exception in case of unlimited policy

Reviewed-by: weijun
2016-11-30 03:49:55 -08:00
Weijun Wang
9a7622561a 7004967: SecureRandom should be more explicit about threading
8169312: SecureRandom::getSeed(num) not specified if num is negative

Reviewed-by: mullan, xuelei
2016-11-17 21:02:39 +08:00
Jamil Nimeh
2eff7e6a9a 8043252: Debug of access control is obfuscated - NullPointerException in ProtectionDomain
Protect against null return value from Permission.getActions in ProtectionDomain's toString method.

Reviewed-by: weijun, mullan
2016-11-16 08:29:58 -08:00
Weijun Wang
e10da9956f 8168518: rcache interop with krb5-1.15
Reviewed-by: xuelei
2016-11-02 14:44:15 +08:00
Bradford Wetmore
853690d658 4985694: Incomplete spec for most of the getInstances
Reviewed-by: xuelei, mullan
2016-10-31 14:09:42 -07:00
Vinnie Ryan
02ca9985fc 8167371: KeyStoreSpi.engineSetEntry should throw an Exception if password protection alg is specified
Reviewed-by: xuelei, mullan
2016-10-13 12:37:42 +01:00
Weijun Wang
ba9df3533c 8164705: Remove pathname canonicalization from FilePermission
Reviewed-by: alanb, bpb
2016-10-10 08:28:50 +08:00
Sergei Kovalev
3847822589 8166378: Missing dependencies in several java/security tests
Reviewed-by: xuelei
2016-10-04 11:55:42 +03:00
Valerie Peng
5f41b5fad7 8149802: Signature.verify() doesn't reset the signature object on exception
Ensure the signature object is always reset after verify() is called.

Reviewed-by: xuelei
2016-09-28 03:10:37 +00:00
Jamil Nimeh
1b9ce49e92 8132926: PKIXParameters built with public key form of TrustAnchor causes NPE during cert path building/validation
Fix cases where non-certificate issuer information may be passed into the OCSPResponse.verify method, thereby causing NPEs to be thrown.

Reviewed-by: xuelei
2016-09-14 07:37:15 -07:00
Alejandro Murillo
542ac8a147 Merge 2016-08-26 10:02:50 -07:00
Alejandro Murillo
ae1273fa3a Merge 2016-08-19 12:17:32 -07:00
Christian Tornqvist
0731886f09 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:53 -04:00
Valerie Peng
c846a862ee 8130181: Deprecate java.security.Provider(String, double, String), add Provider(Strin
Added Provider constructor which uses version String and use sun.security.util.PROVIDER_VER

Reviewed-by: weijun
2016-08-19 06:27:54 +00:00
Sibabrata Sahoo
ca2024b93f 8159964: Update Tests to verify JDK build for "JDK-8159488 Deprivilege java.xml.crypto"
Reviewed-by: valeriep
2016-08-16 12:34:00 +05:30
Artem Smotrakov
aacb739bbd 8162484: javax/net/ssl/Stapling/SSLSocketWithStapling.java test fails intermittently with "Address already in use" error
Reviewed-by: xuelei, jnimeh
2016-08-15 16:32:41 -07:00
Ivan Gerasimov
d928f3fae8 8163896: Finalizing one key of a KeyPair invalidates the other key
Reviewed-by: coffeys, vinnie
2016-08-15 23:45:32 +03:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Sibabrata Sahoo
1e34f70a1d 8151654: Additional modular test for "auth.login.defaultCallbackHandler"
Reviewed-by: mchung, weijun
2016-07-26 09:53:35 +08:00
Vinnie Ryan
149b8bf45d 8161571: Verifying ECDSA signatures permits trailing bytes
Reviewed-by: xuelei
2016-07-22 16:05:23 +01:00
Joe Darcy
b7b1f7c62e 8161022: Mark java/security/SignedObject/Chain.java as failing intermittently
Reviewed-by: weijun
2016-07-07 18:21:21 -07:00
Valerie Peng
d9d53c3850 8157489: AppleProvider in java.base/macosx/classes/module-info.java.extra
Remove the line for ServiceLoader lookup

Reviewed-by: mchung
2016-06-13 21:49:37 +00:00
Bhanu Prakash Gopularam
b9e8313df2 8062758: Update java/security/Security/ClassLoaderDeadlock/Deadlock2.sh with the removal of -Djava.ext.dirs
Removing test as java.ext.dirs not supported

Reviewed-by: mchung, mullan
2016-06-12 23:19:34 -07:00
Weijun Wang
ec53a43962 8158534: DrbgParameters strength parameter is underspecified if < -1
Reviewed-by: xuelei
2016-06-12 10:48:19 +08:00
Amanda Jiang
989d0b0b7c 8156059: Update/Develop new tests for JEP 287: SHA-3 Hash Algorithms
Update existing MessageDigest tests with SHA-3 Hash Algorithms and add one test case to check supported providers

Reviewed-by: valeriep, rhalade
2016-05-31 22:41:56 +00:00
Lana Steuck
49d9eb1836 Merge 2017-02-23 17:21:40 +00:00
Lana Steuck
3d53978607 Merge 2017-02-09 18:17:34 +00:00