Commit graph

4531 commits

Author SHA1 Message Date
Adam Sotona
0583f73574 8323183: ClassFile API performance improvements
Reviewed-by: redestad
2024-03-04 15:26:27 +00:00
Pavel Rappo
012411ad8d 8327046: (fs) Files.walk should be clear that depth-first traversal is pre-order
Reviewed-by: alanb, gli
2024-03-01 13:48:50 +00:00
Korov
e85265abc2 8325361: Make sun.net.www.MessageHeader final
Reviewed-by: dfuchs
2024-03-01 10:58:59 +00:00
Brian Burkhalter
db0e2b8faf 8326944: (ch) Minor typo in the ScatteringByteChannel.read(ByteBuffer[] dsts,int offset,int length) javadoc
Reviewed-by: naoto, iris, coffeys, gli
2024-02-29 16:47:04 +00:00
Lance Andersen
38ad514589 8326687: Inconsistent use of "ZIP", "Zip" and "zip" in java.util.zip/jar zipfs javadoc
Reviewed-by: dfuchs, jpai, gli
2024-02-28 17:14:08 +00:00
Viktor Klang
60cbf29250 8325754: Dead AbstractQueuedSynchronizer$ConditionNodes survive minor garbage collections
Reviewed-by: alanb
2024-02-27 10:38:36 +00:00
Justin Lu
d22d890cac 8325898: ChoiceFormat returns erroneous result when formatting bad pattern
Reviewed-by: naoto
2024-02-26 23:43:52 +00:00
Weijun Wang
b87d9cf2c9 8325506: Ensure randomness is only read from provided SecureRandom object
Reviewed-by: kdriver, valeriep
2024-02-26 21:52:40 +00:00
Anthony Scarpino
f62b5789ad 8311644: Server should not send bad_certificate alert when the client does not send any certificates
Reviewed-by: djelinski, jjiang, ssahoo
2024-02-26 16:49:01 +00:00
Claes Redestad
9a9cfbe0ba 8325340: Add ASCII fast-path to Data-/ObjectInputStream.readUTF
Reviewed-by: rgiulietti, bpb, rriggs
2024-02-26 16:05:18 +00:00
Lance Andersen
20c71ceacd 8321156: Improve the handling of invalid UTF-8 byte sequences for ZipInputStream::getNextEntry and ZipFile::getComment
Reviewed-by: jpai, alanb
2024-02-26 15:31:55 +00:00
Claes Redestad
c042f08632 8326653: Remove jdk.internal.reflect.UTF8
Reviewed-by: rriggs, alanb
2024-02-26 15:30:21 +00:00
Eirik Bjørsnøs
bb6b04897b 8326099: GZIPOutputStream should use Deflater.getBytesRead() instead of Deflater.getTotalIn()
Reviewed-by: jpai
2024-02-26 14:15:24 +00:00
Korov
1799ffeaa9 8310351: Typo in ImmutableCollections
Reviewed-by: jlaskey, jpai
2024-02-25 11:52:19 +00:00
Joe Darcy
63f6a563a3 8326530: Widen allowable error bound of Math.tan
Reviewed-by: bpb, rgiulietti
2024-02-23 18:03:02 +00:00
Justin Lu
00ffc42cef 8318761: MessageFormat pattern support for CompactNumberFormat, ListFormat, and DateTimeFormatter
Reviewed-by: naoto, rriggs
2024-02-22 22:27:12 +00:00
Naoto Sato
64f7972a3d 8326158: Javadoc for java.time.DayOfWeek#minus(long)
Reviewed-by: iris, lancea
2024-02-21 16:53:57 +00:00
Claes Redestad
d2590c69b4 8325730: StringBuilder.toString allocation for the empty String
Reviewed-by: jlaskey, shade
2024-02-20 20:28:55 +00:00
Christian Stein
0d285312a9 8318812: LauncherHelper.checkAndLoadMain closes jar file that's about to be re-opened
Reviewed-by: alanb, jpai, coffeys
2024-02-20 07:01:45 +00:00
Per Minborg
82609b1ebc 8326112: Javadoc snippet for Linker.Option.captureCallState is wrong
Reviewed-by: jvernee
2024-02-19 13:33:09 +00:00
Christoph Langer
c2d9fa26ce 8326000: Remove obsolete comments for class sun.security.ssl.SunJSSE
Reviewed-by: mbaesken, ascarpino
2024-02-18 06:58:22 +00:00
Brian Burkhalter
7a76252007 8325990: Remove use of snippet @replace annotation in java.base
Reviewed-by: jlu, naoto
2024-02-16 16:06:56 +00:00
Ben Perez
244573e719 8265372: Simplify PKCS9Attribute
Reviewed-by: weijun
2024-02-16 14:51:31 +00:00
Richard Reingruber
4018b2b196 8323782: Race: Thread::interrupt vs. AbstractInterruptibleChannel.begin
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, dholmes
2024-02-16 08:40:13 +00:00
Daniel Jeliński
a0e5e16afb 8325162: Remove duplicate GCMParameters class
Reviewed-by: weijun, valeriep
2024-02-15 11:27:00 +00:00
Brian Burkhalter
f6e285103a 8316340: (bf) Missing {@inheritDoc} for exception in MappedByteBuffer::compact
Reviewed-by: alanb, iris, lancea
2024-02-14 15:59:34 +00:00
Jorn Vernee
9c852df6aa 8318966: Some methods make promises about Java array element alignment that are too strong
Reviewed-by: psandoz, mcimadamore
2024-02-14 14:30:54 +00:00
Eirik Bjørsnøs
628cd8a489 8303866: Allow ZipInputStream.readEnd to parse small Zip64 ZIP files
Reviewed-by: lancea, jpai
2024-02-13 16:26:37 +00:00
Brian Burkhalter
6b7c9718d6 8325382: (fc) FileChannel.transferTo throws IOException when position equals size
Reviewed-by: alanb
2024-02-13 15:53:29 +00:00
Roger Riggs
13d9e8ff38 8325590: Regression in round-tripping UTF-16 strings after JDK-8311906
Reviewed-by: alanb, redestad
2024-02-13 15:16:50 +00:00
Daniel Jeliński
efa071dd06 8323089: networkaddress.cache.ttl is not a system property
Reviewed-by: alanb, jpai, aefimov, dfuchs
2024-02-12 07:54:48 +00:00
Oli Gillespie
8ef918d667 8324646: Avoid Class.forName in SecureRandom constructor
Reviewed-by: shade, weijun
2024-02-09 14:38:09 +00:00
Thiago Henrique Hüpner
d91fb17a80 8325505: Fix Javadoc ResourceBundle::getString
Reviewed-by: jlu, naoto
2024-02-08 21:56:16 +00:00
Per Minborg
b58d73b915 8323746: Add PathElement hashCode and equals
Reviewed-by: mcimadamore
2024-02-08 10:54:11 +00:00
Jaikiran Pai
1fb9e3d674 8325304: Several classes in java.util.jar and java.util.zip don't specify the behaviour for null arguments
Reviewed-by: lancea, alanb
2024-02-08 06:35:47 +00:00
Joe Darcy
fbd15b2087 8325189: Enable this-escape javac warning in java.base
Reviewed-by: alanb, erikj, naoto, smarks, ihse, joehw, lancea, weijun
2024-02-07 20:05:11 +00:00
Magnus Ihse Bursie
18e24d0619 8325109: Sort method modifiers in canonical order
Reviewed-by: aivanov, rriggs, darcy, prappo
2024-02-07 15:50:40 +00:00
Chen Liang
3bffe223a3 8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig
Reviewed-by: asotona
2024-02-07 07:54:22 +00:00
Joe Darcy
1797efd68d 8322218: Better escaping of single and double quotes in annotation toString() results
Reviewed-by: mchung
2024-02-06 23:22:46 +00:00
Brian Burkhalter
4b1e367eda 8325152: Clarify specification of java.io.RandomAccessFile.setLength
Reviewed-by: alanb
2024-02-06 19:35:03 +00:00
Naoto Sato
96eb0390d6 8324665: Loose matching of space separators in the lenient date/time parsing mode
Reviewed-by: joehw, jlu
2024-02-06 17:43:12 +00:00
Shaojin Wen
50b17d9846 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers
Reviewed-by: redestad, rgiulietti
2024-02-06 15:16:40 +00:00
Archie Cobbs
f1f93988fb 8323699: MessageFormat.toPattern() generates non-equivalent MessageFormat pattern
Reviewed-by: jlu, naoto
2024-02-05 23:14:50 +00:00
Brian Burkhalter
209d87a856 8324960: Unsafe.allocateMemory documentation incorrect regarding zero return value
Reviewed-by: rriggs
2024-02-05 21:31:17 +00:00
Claes Redestad
55c1446b68 8321468: Remove StringUTF16::equals
Reviewed-by: rriggs, kvn
2024-02-05 16:30:16 +00:00
Claes Redestad
19e92201b4 8325169: Reduce String::indexOf overheads
Reviewed-by: rriggs, rgiulietti, mli
2024-02-05 16:30:05 +00:00
Eirik Bjørsnøs
f613e13397 8313739: ZipOutputStream.close() should always close the wrapped stream
Reviewed-by: jpai, lancea
2024-02-02 20:20:36 +00:00
Joe Darcy
adc3604027 8325148: Enable restricted javac warning in java.base
Reviewed-by: erikj, jvernee, mcimadamore, pminborg, ihse
2024-02-02 17:47:28 +00:00
Justin Lu
d3c3194ac3 6285888: ChoiceFormat can support unescaped relational symbols in the Format segment
Reviewed-by: naoto
2024-02-01 22:21:45 +00:00
Per Minborg
6b84f9bb3e 8325001: Typo in the javadocs for the Arena::ofShared method
Reviewed-by: dfuchs
2024-02-01 11:53:02 +00:00