86 Commits

Author SHA1 Message Date
Amy Lu
a2b08aeec9 8167525: update jdk tests to remove @compile --add-modules workaround
Reviewed-by: mchung
2017-03-08 15:29:57 +08:00
Sean Mullan
472c73df43 8173082: java/bean/* tests fail since change of JDK-8055206
Reviewed-by: mchung, ahgross, alanb
2017-01-23 07:34:11 -05: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
Weijun Wang
ba9df3533c 8164705: Remove pathname canonicalization from FilePermission
Reviewed-by: alanb, bpb
2016-10-10 08:28:50 +08:00
Alejandro Murillo
092d3bef1c Merge 2016-09-01 15:20:57 -07:00
Sibabrata Sahoo
3d17ae2b1d 8164922: sun/security/provider/SecureRandom/AutoReseed.java failed with timeout in Ubuntu Linux
The test timeout waiting to get seed in an exhausted Linux platform.

Reviewed-by: weijun
2016-08-31 08:44:12 -07:00
Kim Barrett
7bddef3ed0 8156500: Move Reference pending list into VM to prevent deadlocks
Move reference pending list and locking into VM

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:46:02 -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
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
Sean Mullan
663f6eb830 8159752: Grant de-privileged module permissions by default with java.security.policy override option
Reviewed-by: alanb, chegar, mchung, tbell, weijun
2016-07-29 19:00:54 -04:00
Sibabrata Sahoo
fc19d91719 8160341: Remove intermittent key from TestDSAGenParameterSpec.java
Reviewed-by: xuelei
2016-07-05 10:10:07 -07:00
Weijun Wang
43402ad3fb 8157387: StrongSecureRandom.java timeout after push for JDK-8141039
Reviewed-by: xuelei, wetmore
2016-06-17 09:46:36 +08:00
Sibabrata Sahoo
dcaf52adab 8157896: TestDSAGenParameterSpec.java test fails with timeout
8157898: SupportedDSAParamGen.java failed with timeout

Reviewed-by: xuelei
2016-06-07 09:00:11 -07:00
Weijun Wang
c01b490933 8157308: Make AbstractDrbg non-Serializable
Reviewed-by: mullan
2016-06-07 10:10:59 +08:00
John Jiang
4408e4cb4a 8157635: Fix module dependencies for /sun/* tests
Module declarations for the tests in /sun/*

Reviewed-by: alanb
2016-05-25 03:06:24 +01:00
John Jiang
4ed9567218 8137255: sun/security/provider/NSASuiteB/TestDSAGenParameterSpec.java timeouts intermittently
Sun/security/provider/NSASuiteB/TestDSAGenParameterSpec.java timeouts intermittently due to large DSA key parameter generation.

Reviewed-by: valeriep
2016-05-25 02:20:02 +01:00
Sibabrata Sahoo
ea82a852dd 8157417: Some of SecureRandom test might get timed out in linux
Reviewed-by: weijun
2016-05-20 09:57:01 -07:00
Sibabrata Sahoo
19c7dcc012 8141039: Test Task: Develop new tests for JEP 273: DRBG-Based SecureRandom Implementations
Reviewed-by: weijun
2016-05-19 04:20:08 -07:00
Sean Mullan
5c27ac09c7 8150468: ClassCircularityError on error in security policy file
Reviewed-by: mchung, xuelei
2016-05-16 13:53:46 -04:00
Valerie Peng
b40b6a2e8e 8000415: Add support for SHA-3
Add SHA-3 support to SUN and OracleUcrypto provider

Reviewed-by: ascarpino, jnimeh
2016-05-14 03:44:30 +00:00
Weijun Wang
07f2c9d05f 8156213: Remove SHA-1 and 3KeyTDEA algorithms from DRBG
Reviewed-by: wetmore, xuelei
2016-05-12 13:06:03 +08:00
Weijun Wang
7df23eb45e 8154523: SHA1PRNG output should change after setSeed
Reviewed-by: xuelei
2016-05-11 12:32:00 +08:00
Weijun Wang
b932c60a85 8051408: NIST SP 800-90A SecureRandom implementations
Reviewed-by: wetmore, xuelei, coffeys
2016-05-06 11:38:44 +08:00
Alan Bateman
36e0820801 8154956: Module system implementation refresh (4/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, chegar, redestad
2016-05-03 09:09:57 +01:00
Valerie Peng
e171854b1c 8138593: Make DSA more fair
Changed nounce K generation to FIPS 186-4 B2.1

Reviewed-by: mullan
2015-12-23 02:31:34 +00:00
Rajan Halade
c86b01dbe8 8154382: Remove intermittent keyword from SupportedDSAParamGen.java
Reviewed-by: xuelei
2016-04-16 01:23:54 +00:00
Xue-Lei Andrew Fan
7f30460ff6 8072452: Support DHE sizes up to 8192-bits and DSA sizes up to 3072-bits
Reviewed-by: valeriep, mullan, coffeys
2016-04-15 11:09:18 +00:00
Rajan Halade
bf4e4ed961 8055351: sun/security/provider/DSA/TestAlgParameterGenerator.java failed with interrupted! (timed out?)
Reviewed-by: valeriep
2016-04-13 16:05:31 -07:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Joe Darcy
0708e4c089 8151228: Mark TestDSAGenParameterSpec.java as intermittently failing
Reviewed-by: xuelei
2016-03-03 22:55:41 -08:00
Alan Bateman
3573d65040 8148147: Sync up @modules from jigsaw/jake
Reviewed-by: chegar, mchung
2016-01-25 19:01:19 +00:00
Weijun Wang
4768e44b34 8085904: Test timeout on Mac
Reviewed-by: wetmore
2015-10-09 09:33:54 +08:00
Sha Jiang
451024f8df 8075286: Additional tests for signature algorithm OIDs and transformation string
SQE test co-location effort

Reviewed-by: valeriep
2015-09-24 18:16:56 +00:00
Artem Smotrakov
f1f48ab0d3 8134232: KeyStore.load() throws an IOException with a wrong cause in case of wrong password
Reviewed-by: vinnie
2015-09-14 19:49:28 +03:00
Jamil Nimeh
60cdefbf44 8134364: Add defensive copies to get/set methods for OCSPNonceExtension
Make OCSPNonceExtension immutable, add defensive copies

Reviewed-by: xuelei, mullan
2015-09-04 09:31:47 -07:00
Jamil Nimeh
e7f31340a0 8046321: OCSP Stapling for TLS
Initial feature commit for OCSP stapling in JSSE

Reviewed-by: xuelei, mullan
2015-08-05 12:19:38 -07:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Jason Uh
454ec2e69d 7194452: Remove "Reverse" PKIX CertPathBuilder implementation
Reviewed-by: mullan
2015-04-17 11:51:47 -07:00
Weijun Wang
3fbfa7ee89 8074935: jdk8 keytool doesn't validate pem files for RFC 1421 correctness, as jdk7 did
Reviewed-by: mullan
2015-03-23 08:51:51 +08:00
Jamil Nimeh
a55dd41fc7 8074064: OCSPResponse.SingleResponse objects do not parse singleExtensions
Reviewed-by: mullan, vinnie
2015-03-13 09:32:54 -07:00
Jason Uh
f7f4ab9df6 8042967: Add variant of DSA Signature algorithms that do not ASN.1 encode the signature bytes
Reviewed-by: mullan
2015-02-17 10:48:24 -08:00
Peter Levart
4029366de9 8047769: SecureRandom should be more frugal with file descriptors
Introduce FileInputStreamPool to cache open FileInputStreams

Reviewed-by: wetmore, alanb, chegar
2015-01-21 12:49:53 +01:00
Valerie Peng
ac09164efa 8039921: SHA1WithDSA with key > 1024 bits not working
Removed the key size limits for all SHAXXXWithDSA signatures

Reviewed-by: weijun
2014-12-30 22:03:23 +00:00
Valerie Peng
efa54ce543 8043406: Change default policy for JCE providers to run with as few privileges as possible
Provide default permissions for crypto providers

Reviewed-by: mullan, vinnie
2014-07-10 22:44:58 +00:00
Rajan Halade
56b41822fb 8033271: Manual security tests have @ignore rather than @run main/manual
Reviewed-by: xuelei, wetmore
2014-03-18 15:04:59 -07:00
Jason Uh
323843f397 8021804: Certpath validation fails if validity period of root cert does not include validity period of intermediate cert
Reviewed-by: mullan
2014-03-12 08:55:35 -07:00
Jason Uh
d6207a4ca5 8036844: test failures due to wrong keystore paths
Reviewed-by: weijun
2014-03-07 10:40:03 -08:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00