Commit Graph

105 Commits

Author SHA1 Message Date
Mandy Chung
622f239448 8304163: Move jdk.internal.module.ModuleInfoWriter to the test library
Reviewed-by: jpai, alanb
2023-03-20 17:30:24 +00:00
Jamil Nimeh
da044dd569 8300939: sun/security/provider/certpath/OCSP/OCSPNoContentLength.java fails due to network errors
Reviewed-by: djelinski, weijun
2023-03-14 15:42:47 +00:00
Mark Powers
2e2e71e1fa 8300416: java.security.MessageDigestSpi clone can result in thread-unsafe clones
Reviewed-by: mullan
2023-02-07 17:40:22 +00:00
Bill Huang
20579e48cf 8299994: java/security/Policy/Root/Root.java fails when home directory is read-only
Reviewed-by: rhalade
2023-02-03 19:19:14 +00:00
Jamil Nimeh
1a3cb8c501 8296343: CPVE thrown on missing content-length in OCSP response
Reviewed-by: mullan, rhalade
2023-01-23 18:05:48 +00:00
Bill Huang
a3693ccc61 8295087: Manual Test to Automated Test Conversion
Reviewed-by: ssahoo, rhalade
2022-12-22 16:50:59 +00:00
Severin Gehwolf
cf93933e21 8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows
Reviewed-by: mullan
2022-12-12 15:49:31 +00:00
Severin Gehwolf
4da8411674 8298108: Add a regression test for JDK-8297684
Reviewed-by: mullan
2022-12-07 10:46:53 +00:00
sendaoYan
82561de722 8296384: [TESTBUG] sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java intermittently timeout
Reviewed-by: weijun, wetmore
2022-12-05 07:41:42 +00:00
Jaikiran Pai
0ce182723b 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: alanb, lancea, dfuchs
2022-11-30 00:37:31 +00:00
Weijun Wang
57f5cfdeb5 8296399: crlNumExtVal might be null inside X509CRLSelector::match
Reviewed-by: xuelei
2022-11-21 15:25:18 +00:00
Weijun Wang
27527b4975 8296612: CertAttrSet is useless
Reviewed-by: mullan
2022-11-10 22:23:58 +00:00
Matthias Baesken
d4376f8b55 8296406: ChainingConstructors jtreg test reduce code duplication
Reviewed-by: mullan
2022-11-09 13:49:46 +00:00
Weijun Wang
671f84bd86 8296143: CertAttrSet's set/get mechanism is not type-safe
Reviewed-by: mullan
2022-11-08 22:35:29 +00:00
Rajan Halade
520db1eeb1 8296485: BuildEEBasicConstraints.java test fails with SunCertPathBuilderException
Reviewed-by: weijun
2022-11-07 19:09:57 +00:00
Rajan Halade
b6ea69c06a 8296480: java/security/cert/pkix/policyChanges/TestPolicy.java is failing
Reviewed-by: xuelei, mullan
2022-11-07 18:22:08 +00:00
Matthias Baesken
8836b92593 8296226: Add constructors (String,Throwable) and (Throwable) to InvalidParameterException
Reviewed-by: mullan, mdoerr
2022-11-07 07:50:12 +00:00
Sean Coffey
8c40b7dc8c 8292177: InitialSecurityProperty JFR event
Reviewed-by: mullan
2022-10-18 11:41:07 +00:00
Alan Bateman
0ad6803ac2 8293810: Remove granting of RuntimePermission("stopThread") from tests
Reviewed-by: dfuchs, mullan, mchung, chegar
2022-10-07 06:15:38 +00:00
Sean Coffey
1f9ff41312 8292297: Fix up loading of override java.security properties file
Reviewed-by: xuelei
2022-09-19 15:21:46 +00:00
Valerie Peng
812d805a48 6447816: Provider filtering (getProviders) is not working with OR'd conditions
Reviewed-by: weijun
2022-09-09 00:30:54 +00:00
Valerie Peng
14623c6087 8292739: Invalid legacy entries may be returned by Provider.getServices() call
Reviewed-by: weijun
2022-08-24 18:23:19 +00:00
Weijun Wang
54ce11431d 6587699: Document DigestInputStream behavior when skip() or mark() / reset() is used
Reviewed-by: wetmore
2022-08-18 22:35:13 +00:00
Sean Coffey
9d7c13eb14 8155246: Throw error if default java.security file is missing
Reviewed-by: mullan
2022-08-15 09:07:17 +00:00
Sibabrata Sahoo
0cb0ecf443 8209935: Test to cover CodeSource.getCodeSigners()
Reviewed-by: mullan
2022-06-13 05:17:58 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Naoto Sato
d6b4693c05 8283698: Refactor Locale constructors used in src/test
Reviewed-by: iris, joehw
2022-04-08 15:23:25 +00:00
Magnus Ihse Bursie
f8878cb0cc 8257733: Move module-specific data from make to respective module
Reviewed-by: jjg, weijun, naoto, erikj, prr, alanb, mchung
2022-03-21 21:34:09 +00:00
Sean Mullan
a0f6f2409e 8280890: Cannot use '-Djava.system.class.loader' with class loader in signed JAR
Reviewed-by: weijun, hchao
2022-02-07 14:06:08 +00:00
Weijun Wang
cb25029885 8279800: isAssignableFrom checks in AlgorithmParametersSpi.engineGetParameterSpec appear to be backwards
Reviewed-by: xuelei, valeriep
2022-01-13 00:42:00 +00:00
Jesper Wilhelmsson
844dfb3ab6 Merge 2022-01-06 01:26:50 +00:00
Aleksey Shipilev
0f4807e8fe 8279222: Incorrect legacyMap.get in java.security.Provider after JDK-8276660
Co-authored-by: Valerie Peng <valeriep@openjdk.org>
Reviewed-by: alanb, valeriep
2022-01-05 07:29:17 +00:00
Sergey Bylokhov
7fea10327e 8279134: Fix Amazon copyright in various files
Reviewed-by: xliu, phh
2021-12-26 22:10:54 +00:00
Weijun Wang
0cc989b7d2 8278744: KeyStore:getAttributes() not returning unmodifiable Set
Reviewed-by: mullan
2021-12-14 18:39:22 +00:00
Sibabrata Sahoo
f22d157e55 8277353: java/security/MessageDigest/ThreadSafetyTest.java test times out
Reviewed-by: weijun
2021-12-07 05:10:30 +00:00
Weijun Wang
a5c160c711 8267108: Alternate Subject.getSubject and doAs APIs that do not depend on Security Manager APIs
Reviewed-by: mullan
2021-11-10 19:35:17 +00:00
Sean Mullan
8cc59509fe 8251468: X509Certificate.get{Subject,Issuer}AlternativeNames and getExtendedKeyUsage do not throw CertificateParsingException if extension is unparseable
Reviewed-by: weijun
2021-10-29 12:42:33 +00:00
Weijun Wang
f63c4a832a 8274471: Verification of OCSP Response signed with RSASSA-PSS fails
Reviewed-by: hchao, jnimeh
2021-10-04 15:30:44 +00:00
Sean Mullan
6d91a3eb7b 8269039: Disable SHA-1 Signed JARs
Reviewed-by: weijun
2021-09-21 13:45:47 +00:00
Weijun Wang
ef4ba224c4 8268349: Provide clear run-time warnings about Security Manager deprecation
Reviewed-by: lancea, mullan, alanb
2021-06-22 02:06:59 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Stuart Marks
7c85f3510c 8267123: Remove RMI Activation
Reviewed-by: erikj, rriggs, alanb
2021-05-27 15:19:45 +00:00
Weijun Wang
640a2afda3 8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Sean Coffey
276a1bf767 8236671: NullPointerException in JKS keystore
Reviewed-by: hchao, xuelei
2021-04-30 09:32:40 +00:00
Sean Mullan
ddc56d1dbe 8259428: AlgorithmId.getEncodedParams() should return copy
Reviewed-by: weijun, valeriep
2021-04-20 21:45:52 +00:00
Weijun Wang
c70589c68c 8265227: Move Proc.java from security/testlibrary to test/lib
Reviewed-by: rriggs, xuelei, rhalade, ssahoo
2021-04-15 15:07:47 +00:00
Ziyi Luo
a5d7de2351 8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec
Co-authored-by: Greg Rubin <rubin@amazon.com>
Reviewed-by: valeriep
2021-03-29 20:14:47 +00:00
Valerie Peng
434a399bea 8260274: Cipher.init(int, key) does not use highest priority provider for random bytes
Reviewed-by: ascarpino, xuelei
2021-03-18 23:23:19 +00:00
Igor Ignatyev
e834f99d1d 8263412: ClassFileInstaller can't be used by classes outside of default package
Reviewed-by: iklam, coleenp, mseledtsov
2021-03-12 23:13:16 +00:00
Ziyi Luo
a777e82cd8 8254717: isAssignableFrom checks in KeyFactorySpi.engineGetKeySpec appear to be backwards
Reviewed-by: jnimeh
2021-03-04 15:17:53 +00:00