Commit graph

1320 commits

Author SHA1 Message Date
Andrey Turbanov
68815d54c1 8314734: Remove unused field TypeVariableImpl.EMPTY_ANNOTATION_ARRAY
Reviewed-by: bpb, darcy
2023-08-23 20:41:28 +00:00
Andrey Turbanov
a8ab3be371 8314261: Make fields final in sun.net.www
Reviewed-by: redestad, jpai, dfuchs
2023-08-17 17:54:02 +00:00
Glavo
b32d6411c4 8311943: Cleanup usages of toLowerCase() and toUpperCase() in java.base
Reviewed-by: naoto
2023-08-16 17:37:21 +00:00
Ben Perez
595fdd36c5 8314059: Remove PKCS7.verify()
Reviewed-by: mullan
2023-08-14 18:39:18 +00:00
Andrey Turbanov
b88c273503 8313743: Make fields final in sun.nio.ch
Reviewed-by: bpb
2023-08-14 07:04:05 +00:00
Xue-Lei Andrew Fan
79be8d9383 8312259: StatusResponseManager unused code clean up
Reviewed-by: mpowers, jnimeh
2023-08-10 17:15:56 +00:00
Pavel Rappo
19ae62ae2c 8311170: Simplify and modernize equals and hashCode in security area
Reviewed-by: djelinski, rriggs, valeriep
2023-08-09 12:34:40 +00:00
Justin Lu
9b55e9a706 8312572: JDK 21 RDP2 L10n resource files update
Reviewed-by: naoto
2023-08-01 23:16:39 +00:00
John Jiang
28be34c1b9 8313226: Redundant condition test in X509CRLImpl
Reviewed-by: jnimeh
2023-08-01 22:35:27 +00:00
Hai-May Chao
e47a84f23d 8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
Reviewed-by: mullan, mbaesken
2023-07-31 15:18:04 +00:00
John Jiang
f8c2b7fee1 8313231: Redundant if statement in ZoneInfoFile
Reviewed-by: jiefu, scolebourne
2023-07-31 07:49:10 +00:00
Valerie Peng
c27c87786a 8302017: Allocate BadPaddingException only if it will be thrown
Reviewed-by: xuelei
2023-07-27 21:24:03 +00:00
Sean Coffey
36d578cddb 8311653: Modify -XshowSettings launcher behavior
Reviewed-by: mchung, rriggs
2023-07-27 06:33:27 +00:00
John Jiang
830413f19a 8313087: DerValue::toString should output a hex view of the values in byte array
Reviewed-by: mullan
2023-07-26 15:16:52 +00:00
Anthony Scarpino
e554fdee25 8311592: ECKeySizeParameterSpec causes too many exceptions on third party providers
Reviewed-by: hchao, valeriep
2023-07-25 15:48:31 +00:00
John Jiang
d63bff672f 8312578: Redundant javadoc in X400Address
Reviewed-by: xuelei, hchao
2023-07-24 22:12:28 +00:00
Brian Burkhalter
d55d7e8d87 8136895: Writer not closed with disk full error, file resource leaked
Reviewed-by: djelinski, vtewari
2023-07-21 15:21:02 +00:00
Jaikiran Pai
842d6329cf 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6
Reviewed-by: alanb, cjplummer, dholmes
2023-07-21 12:58:20 +00:00
John Jiang
4e8f331a80 8312443: sun.security should use toLowerCase(Locale.ROOT)
Reviewed-by: xuelei
2023-07-20 21:48:19 +00:00
Chen Liang
5d57b5c2f0 6983726: Reimplement MethodHandleProxies.asInterfaceInstance
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: jvernee, mchung
2023-07-20 00:59:28 +00:00
Alan Bateman
028068a655 8312166: (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
Reviewed-by: jpai, michaelm
2023-07-19 13:17:37 +00:00
Hai-May Chao
ecd0bc1d62 8300596: Enhance Jar Signature validation
Reviewed-by: mullan, rhalade, mschoene, weijun
2023-07-18 21:17:08 +00:00
Pavel Rappo
1dfb0fb3e2 8311188: Simplify and modernize equals and hashCode in java.text
Reviewed-by: lancea, naoto, rriggs
2023-07-18 15:12:09 +00:00
Anthony Scarpino
e737968792 8308398: Move SunEC crypto provider into java.base
Reviewed-by: valeriep, alanb
2023-07-17 17:38:54 +00:00
Matthew Donovan
afcf8e4751 8290005: com/sun/jndi/ldap/LdapCBPropertiesTest.java failling with NullPointerException
Reviewed-by: jnimeh, xuelei
2023-07-17 11:16:19 +00:00
Sean Coffey
f6e23ae451 8310201: Reduce verbose locale output in -XshowSettings launcher option
Reviewed-by: jpai
2023-07-17 08:28:16 +00:00
Sean Coffey
2e12a123c9 8281658: Add a security category to the java -XshowSettings option
Reviewed-by: rriggs, mullan
2023-07-14 07:31:09 +00:00
Naoto Sato
00c7f914c6 8310047: Add UTF-32 based Charsets into StandardCharsets
Reviewed-by: alanb, lancea, bpb, jpai, jlu
2023-07-11 16:10:34 +00:00
Kevin Driver
5667afc362 8295068: SSLEngine throws NPE parsing CertificateRequests
Reviewed-by: xuelei
2023-07-07 16:55:26 +00:00
Pavel Rappo
7b3c2dc5f4 8311122: Fix typos in java.base
Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
2023-07-04 19:03:09 +00:00
Alan Bateman
f4b900b607 8310902: (fc) FileChannel.transferXXX async close and interrupt issues
Reviewed-by: bpb
2023-06-29 05:42:19 +00:00
Jesse Glick
9f98136c3a 6956385: URLConnection.getLastModified() leaks file handles for jar:file and file: URLs
Define FileURLConnection.closeInputStream for use by JarURLInputStream.close.
JarURLConnection properly tracks any InputStream it itself opened,
and correspondingly closes the JarFile if necessary (when caches are disabled).
But if its underlying FileURLConnection was used to retrieve a header field,
that would have caused a FileInputStream to be opened
which never gets closed until it is garbage collected.
This means that an application which calls certain methods
on jar:file:/…something.jar!/… URLs will leak file handles,
even if URLConnection caches are supposed to be turned off.
This can delay release of system resources,
and on Windows can prevent the JAR file from being deleted
even after it is no longer in use (for example after URLClassLoader.close).

Reviewed-by: dfuchs, michaelm
2023-06-28 15:33:37 +00:00
Chen Liang
2bd4136bdb 8310849: Pattern matching for instanceof and arrayType cleanup in j.l.invoke and j.l.reflect
Reviewed-by: mchung, darcy
2023-06-27 16:10:50 +00:00
Pavel Rappo
f6133edb08 8310890: Normalize identifier names
Reviewed-by: naoto, rriggs
2023-06-27 15:47:29 +00:00
Sergey Tsypanov
297c799631 8301492: Modernize equals() method of ResourceBundle.CacheKey and Bundles.CacheKey
Reviewed-by: prappo, naoto
2023-06-26 19:41:43 +00:00
Ben Perez
7628da2008 8279254: PKCS9Attribute SigningTime always encoded in UTFTime
Reviewed-by: jnimeh
2023-06-23 15:31:16 +00:00
Christian Stein
4bf78162c5 8309670: java -help output for --module-path / -p is incomplete
Reviewed-by: mchung, alanb
2023-06-23 11:09:37 +00:00
Jaikiran Pai
db133dbc02 8310106: sun.security.ssl.SSLHandshake.getHandshakeProducer() incorrectly checks handshakeConsumers
Reviewed-by: wetmore, xuelei
2023-06-16 05:38:10 +00:00
Justin Lu
81bfd78901 8309632: JDK 21 RDP1 L10n resource files update
Reviewed-by: naoto
2023-06-15 19:43:07 +00:00
Naoto Sato
3eeb681a0d 8167252: Some of Charset.availableCharsets() does not contain itself
Reviewed-by: bpb, alanb, iris, lancea, jpai
2023-06-15 16:34:00 +00:00
Ben Perez
bed9161c81 8308474: DSA does not reset SecureRandom when initSign is called again
Reviewed-by: weijun
2023-06-13 16:34:58 +00:00
Xue-Lei Andrew Fan
80a8144af5 8309867: redundant class field RSAPadding.md
Reviewed-by: hchao, weijun, valeriep
2023-06-12 20:42:53 +00:00
Kevin Driver
80edd5c298 8294985: SSLEngine throws IAE during parsing of X500Principal
Reviewed-by: wetmore, xuelei, mullan
2023-06-09 23:31:12 +00:00
Sergey Bylokhov
bdd81b3182 8304885: Reuse stale data to improve DNS resolver resiliency
Reviewed-by: michaelm, dfuchs
2023-06-09 23:20:06 +00:00
Martin Balao
4a75fd462c 8301553: Support Password-Based Cryptography in SunPKCS11
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: valeriep
2023-06-06 19:39:34 +00:00
Jim Laskey
98b53c06cf 8306112: Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview)
8308613: javax.lang.model updates for JEP 445 (preview)
8308913: Update core reflection for JEP 445 (preview)

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: mcimadamore, vromero, darcy
2023-06-05 18:45:39 +00:00
Ferenc Rakoczi
050425b141 8298127: HSS/LMS Signature Verification
Reviewed-by: weijun, mullan
2023-06-01 12:31:07 +00:00
Weijun Wang
6b90b0519e 8297878: KEM: Implementation
Reviewed-by: ascarpino, mullan
2023-05-30 16:29:19 +00:00
Tyler Steele
48d21bd089 8286597: Implement PollerProvider on AIX
Reviewed-by: mdoerr, alanb, vtewari
2023-05-25 14:59:11 +00:00
Jamil Nimeh
2836c34b64 8179502: Enhance OCSP, CRL and Certificate Fetch Timeouts
Reviewed-by: mullan
2023-05-23 21:32:28 +00:00