2470 Commits

Author SHA1 Message Date
Justin Lu
4e92991809 8300794: Use @snippet in java.util:i18n
Reviewed-by: naoto, lancea
2023-05-16 17:10:21 +00:00
Joe Darcy
7b0b9b570b 8308049: Refactor nested class declarations in FdLibm.java
Reviewed-by: smarks
2023-05-15 20:09:12 +00:00
Valerie Peng
46e3d24a6f 8155191: Specify that SecureRandom.nextBytes(byte[]) throws NullPointerException when byte array is null
Reviewed-by: mullan
2023-05-12 23:00:00 +00:00
Justin Lu
4441a2306f 6714245: [Col] Collator - Faster Comparison for identical strings.
Reviewed-by: rriggs, naoto
2023-05-12 19:58:37 +00:00
Maurizio Cimadamore
6ebea8973f 8307911: javadoc for MemorySegment::reinterpret has duplicate restricted method paragraph
Reviewed-by: jvernee
2023-05-12 16:18:00 +00:00
Brian Burkhalter
9fa8b9a4a6 8307409: Refactor usage examples to use @snippet in the java.nio packages
Reviewed-by: alanb, rriggs
2023-05-12 15:17:22 +00:00
Maurizio Cimadamore
ba9714d44c 8307610: Linker::nativeLinker should not be restricted (mainline)
Reviewed-by: jvernee
2023-05-11 09:45:45 +00:00
Justin Lu
4795c395e9 8281103: Give example for Locale that is English and follows the ISO standards
Reviewed-by: rriggs, lancea, naoto
2023-05-10 23:57:48 +00:00
Viktor Klang
8a95020ab6 8151531: Add notes to BaseStream.spliterator/iterator docs regarding them being escape hatches
Reviewed-by: psandoz
2023-05-10 16:29:34 +00:00
Archie Cobbs
0198afca3a 8305748: Clarify reentrant behavior of close() in FileInputStream, FileOutputStream, and RandomAccessFile
Reviewed-by: alanb, bpb
2023-05-10 16:24:00 +00:00
Jim Laskey
4aa65cbeef 8285932: Implementation of JEP 430 String Templates (Preview)
Reviewed-by: mcimadamore, rriggs, darcy
2023-05-10 11:34:01 +00:00
Roger Riggs
356667f155 8307466: java.time.Instant calculation bug in until and between methods
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Reviewed-by: scolebourne, naoto
2023-05-09 20:51:33 +00:00
Justin Lu
82bcee76ea 8159337: Introduce a method in Locale class to return the language tags as per RFC 5646 convention
Reviewed-by: naoto, rriggs
2023-05-09 17:15:06 +00:00
Viktor Klang
fdbfc8a73b 8133773: clarify specification of Spliterator.tryAdvance
Reviewed-by: psandoz, tvaleev, rriggs
2023-05-09 15:37:23 +00:00
Maurizio Cimadamore
7a3bea1f6a 8307629: FunctionDescriptor::toMethodType should allow sequence layouts (mainline)
Reviewed-by: jvernee
2023-05-09 11:09:39 +00:00
Volker Simonis
4116b109f0 8306461: ObjectInputStream::readObject() should handle negative array sizes without throwing NegativeArraySizeExceptions
Co-authored-by: Yakov Shafranovich <yakovsh@amazon.com>
Reviewed-by: shade, rriggs
2023-05-08 14:56:05 +00:00
Raffaello Giulietti
93ee19f58a 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern
Reviewed-by: jpai, rriggs
2023-05-08 14:51:35 +00:00
Maurizio Cimadamore
47422be2d1 8307375: Alignment check on layouts used as sequence element is not correct
Reviewed-by: jvernee
2023-05-05 15:59:13 +00:00
Maurizio Cimadamore
cecf817f5e 8307181: MemoryLayout.structLayout uses undocumented strict alignment constraints
Reviewed-by: jvernee
2023-05-04 09:44:31 +00:00
Kevin Driver
db8b3cd084 8305963: Typo in java.security.Security.getProperty
Co-authored-by: Sean Coffey <coffeys@openjdk.org>
Reviewed-by: coffeys, wetmore
2023-05-03 20:47:23 +00:00
Aleksey Shipilev
fcb280a48b 8305092: Improve Thread.sleep(millis, nanos) for sub-millisecond granularity
Reviewed-by: dholmes, alanb
2023-05-03 09:39:57 +00:00
Adam Sotona
c8f37564bf 8306729: Add nominal descriptors of modules and packages to Constants API
Reviewed-by: mchung
2023-05-03 06:34:58 +00:00
Eamonn McManus
74667e3d56 8303919: Instant.ofEpochMilli says it can throw an exception that it can't
Reviewed-by: rriggs
2023-05-02 23:26:01 +00:00
Stuart Marks
05b9b5821d 8302496: Runtime.exit incorrectly says it never throws an exception
Reviewed-by: alanb
2023-05-02 23:19:30 +00:00
Serguei Spitsyn
1227a275a1 8306028: separate ThreadStart/ThreadEnd events posting code in JVMTI VTMS transitions
8304444: Reappearance of NULL in jvmtiThreadState.cpp

Reviewed-by: pchilanomate, lmesnik
2023-05-02 02:40:50 +00:00
Sergey Tsypanov
561ec9c5a0 8300818: Reduce complexity of padding with DateTimeFormatter
Reviewed-by: redestad, rriggs
2023-05-01 18:24:07 +00:00
Jorn Vernee
1de1a38859 8303002: Reject packed structs from linker
8300784: Specify exactly how padding should be presented to the linker
8304803: NPE thrown during downcall classification under Linux/x64
8303524: Check FunctionDescriptor byte order when linking

Reviewed-by: mcimadamore
2023-05-01 13:00:41 +00:00
Stuart Marks
da9efee1c2 8296935: Arrays.asList() can return a List that throws undocumented ArrayStoreException
Reviewed-by: rriggs, lancea
2023-04-28 19:45:29 +00:00
Madjosz
f83e7302c1 8302983: ZoneRulesProvider.registerProvider() twice will remove provider
Reviewed-by: naoto
2023-04-28 16:23:13 +00:00
Brian Burkhalter
80fae514b1 8306959: (bf) CharBuffer.append(CharSequence,int,int) throws BufferOverflowException where IndexOutOfBoundsException expected
Reviewed-by: alanb
2023-04-27 17:20:08 +00:00
Raffaello Giulietti
eb358619df 8205592: BigDecimal.doubleValue() is depressingly slow
Reviewed-by: darcy
2023-04-27 17:01:56 +00:00
Per Minborg
cbccc4c817 8304265: Implementation of Foreign Function and Memory API (Third Preview)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jvernee, vlivanov, psandoz
2023-04-27 09:00:58 +00:00
Brian Burkhalter
d0e8aec041 8306374: (bf) Improve performance of DirectCharBuffer::append(CharSequence[,int,int])
Reviewed-by: liach, alanb
2023-04-26 16:37:18 +00:00
Brian Burkhalter
e3ccaa6541 8306623: (bf) CharBuffer::allocate throws unexpected exception type with some CharSequences
Reviewed-by: alanb, lancea
2023-04-25 20:18:19 +00:00
Joe Darcy
d819debaa5 8304423: Refactor FdLibm.java
Reviewed-by: bpb
2023-04-25 19:33:22 +00:00
Stuart Marks
17ce0976e4 8266571: Sequenced Collections
Reviewed-by: alanb
2023-04-25 15:19:08 +00:00
Michael McMahon
314db55f6d 8304818: Prune HttpURLConnection cache when corresponding Authenticator is garbage collected
Reviewed-by: dfuchs, djelinski
2023-04-24 17:25:32 +00:00
Oli Gillespie
3da987adac 8306075: Micro-optimize Enum.hashCode
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: redestad, shade, rriggs, liach, apangin, jvernee
2023-04-21 09:51:36 +00:00
Justin Lu
ffb2494de4 8305207: Calendar.aggregateStamp(int, int) return value can be simplified
Reviewed-by: naoto, rriggs, iris
2023-04-20 21:20:08 +00:00
Justin Lu
174c1a6d53 4737887: (cal) API: Calendar methods taking field should document exceptions
Reviewed-by: naoto
2023-04-20 21:11:00 +00:00
Brian Burkhalter
955abcae55 8306483: (ch) Channels.newReader(ReadableByteChannel,Charset) refers to csName
Reviewed-by: alanb
2023-04-20 15:38:11 +00:00
Jaikiran Pai
b8f0a668dd 8041676: remove the java.compiler system property
Reviewed-by: dholmes, alanb, rriggs, iris
2023-04-20 01:49:31 +00:00
Aleksei Efimov
eb8d8cdddd 8299129: Enhance NameService lookups
Reviewed-by: ahgross, michaelm, rhalade, dfuchs
2023-04-18 23:21:21 +00:00
Michael McMahon
ec119716e5 8296676: Improve String platform support
Reviewed-by: aefimov, dfuchs
2023-04-18 23:21:20 +00:00
Ian Graves
3656939a6a 8295304: Runtime support improvements
Reviewed-by: rhalade, rriggs, bchristi
2023-04-18 23:21:20 +00:00
Brent Christian
bb1a7bb3e1 8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed
Reviewed-by: kbarrett, alanb, bpb
2023-04-17 20:40:47 +00:00
Brian Burkhalter
8858d54342 8305811: (bf) Improve performance of CharBuffer::append(CharSequence[,int,int])
Reviewed-by: alanb
2023-04-17 20:17:23 +00:00
Eirik Bjorsnos
7f56de8f78 8306036: Use @apiNote in String.toLowerCase, String.toUpperCase
Reviewed-by: alanb, jpai
2023-04-17 05:24:50 +00:00
Viktor Klang
54bf370079 8170945: Collectors$Partition should override more Map methods
Reviewed-by: smarks
2023-04-14 09:16:16 +00:00
Eirik Bjorsnos
425ef0685c 8303923: ZipOutStream::putEntry should include an apiNote to indicate that the STORED compression method should be used when writing directory entries
Reviewed-by: lancea, alanb
2023-04-12 21:44:21 +00:00