Commit Graph

5487 Commits

Author SHA1 Message Date
Brian Burkhalter
fef1ef7dfe 6426678: (spec) File.createTempFile(prefix, suffix, dir) needs clarification for illegal symbols in suffix
Reviewed-by: alanb
2024-08-30 17:17:10 +00:00
Shaojin Wen
b711c41d44 8339196: Optimize BufWriterImpl#writeU1/U2/Int/Long
Reviewed-by: liach, redestad
2024-08-29 21:21:16 +00:00
Chen Liang
777ed2b5d2 8339132: Make DirectCodeBuilder write through without allocating instruction objects
Reviewed-by: asotona, redestad
2024-08-29 15:45:52 +00:00
Andrey Turbanov
d35ffa4f6a 8339017: Make a couple of fields in DoubleByte static
Reviewed-by: bpb, naoto
2024-08-29 09:57:52 +00:00
Brent Christian
26e3d535ad 8338716: Re-visit "interrupt handling" in jdk.internal.loader.Resource
Reviewed-by: alanb
2024-08-28 22:54:38 +00:00
Justin Lu
a8ac28725b 8339126: JNI exception pending in Inflater.c
Reviewed-by: lancea, vtewari, jpai, naoto
2024-08-28 21:14:29 +00:00
Claes Redestad
eff6d9cd23 8339167: Remove AbstractPoolEntry.PrimitiveEntry to reduce boxing overheads
Reviewed-by: liach
2024-08-28 18:22:30 +00:00
Claes Redestad
a98ecad0a9 8338897: Small startup regression remains after JDK-8309622 and JDK-8331932
Reviewed-by: liach, naoto
2024-08-28 18:16:00 +00:00
Anthony Scarpino
0c2b175898 8328608: Multiple NewSessionTicket support for TLS
Reviewed-by: djelinski
2024-08-28 17:24:33 +00:00
Maurizio Cimadamore
1ff9ac7233 8338731: MemoryLayout::offsetHandle can return a negative offset
Reviewed-by: pminborg, psandoz
2024-08-28 10:22:34 +00:00
Jaikiran Pai
2e174c6367 8338445: jdk.internal.loader.URLClassPath may leak JarFile instance when dealing with unexpected Class-Path entry in manifest
Reviewed-by: michaelm, cstein, alanb
2024-08-28 09:29:18 +00:00
Shaojin Wen
449ca2c3c1 8337832: Optimize datetime toString
Reviewed-by: scolebourne, liach, naoto
2024-08-27 22:10:05 +00:00
Per Minborg
2e96f159aa 8338489: Typo in MemorySegment doc
Reviewed-by: rriggs, mcimadamore, iris
2024-08-27 16:24:50 +00:00
Naoto Sato
fa4ff78bd4 8338690: CompactNumberInstance.format incorrectly formats some numbers (few vs many)
Reviewed-by: joehw, rriggs, jlu
2024-08-27 15:34:50 +00:00
Maurizio Cimadamore
b25095b08e 8338728: Misc issues in memory layout javadoc
Reviewed-by: pminborg, psandoz
2024-08-27 14:26:31 +00:00
Viktor Klang
414d23cb8f 8338765: ScheduledThreadPoolExecutor struggles with extremely long delays
Reviewed-by: alanb
2024-08-27 13:23:02 +00:00
Julian Waters
cd9e241f0e 8336289: Obliterate most references to _snprintf in the Windows JDK
Reviewed-by: kbarrett, dholmes, jpai, mullan, djelinski, prr
2024-08-27 04:13:54 +00:00
Shaojin Wen
5ecbecfbca 8338936: StringConcatFactory optimize the construction of MethodType and MethodTypeDesc
Reviewed-by: redestad, liach
2024-08-26 20:26:17 +00:00
Claes Redestad
3f00da84b3 8338906: Avoid passing EnumDescs and extra classes to type switch methods that don't use them
Reviewed-by: liach, jlahoda
2024-08-26 15:58:25 +00:00
Claes Redestad
e63418ee01 8338979: Avoid bootstrapped switches in the classfile API
Reviewed-by: liach, asotona
2024-08-26 14:29:09 +00:00
Maurizio Cimadamore
20d8f58c92 8331671: Implement JEP 472: Prepare to Restrict the Use of JNI
Reviewed-by: jpai, prr, ihse, kcr, alanb
2024-08-26 09:17:45 +00:00
Brian Burkhalter
23dc3b0246 8324048: (fc) Make FileKey fields final
Reviewed-by: djelinski, alanb, jpai
2024-08-23 16:32:14 +00:00
Chen Liang
a461369f16 8338700: AttributeMapper type parameter should be bounded by Attribute
Reviewed-by: asotona
2024-08-23 15:16:44 +00:00
Markus Grönlund
69bd227e6c 8338417: Explicitly pin a virtual thread before acquiring the JFR string pool monitor
Reviewed-by: alanb, egahlin, dholmes
2024-08-23 09:29:23 +00:00
Markus Grönlund
fead3cf541 8338745: Intrinsify Continuation.pin() and Continuation.unpin()
Reviewed-by: kvn
2024-08-23 09:26:00 +00:00
Brian Burkhalter
c89a1c35bd 8338696: (fs) BasicFileAttributes.creationTime() falls back to epoch if birth time is unavailable (Linux)
Reviewed-by: sgehwolf, alanb
2024-08-22 21:41:25 +00:00
Claes Redestad
47c8a6a8db 8333265: De-duplicate method references in java.util.stream.FindOps
Reviewed-by: liach
2024-08-21 22:10:06 +00:00
Doug Lea
ab8071d280 8338146: Improve Exchanger performance with VirtualThreads
Reviewed-by: alanb
2024-08-21 18:22:24 +00:00
Maurizio Cimadamore
0e8fe3550b 8338677: Improve startup of memory access var handles by simplifying combinator chains
Reviewed-by: redestad
2024-08-21 15:11:32 +00:00
Shaojin Wen
3aeb6733f9 8338532: Speed up the ClassFile API MethodTypeDesc#ofDescriptor
Reviewed-by: redestad, liach
2024-08-21 14:56:30 +00:00
Chen Liang
80adea8e0a 8338545: Functional interface implementations for common pre-boot ClassFile operations
Reviewed-by: asotona
2024-08-21 11:58:21 +00:00
Adam Sotona
e88a3b0574 8338661: StackMapTable is invalid if frames appear in dead code
Reviewed-by: liach
2024-08-21 08:19:35 +00:00
Chen Liang
88ccbb6091 8336934: Clean up JavaLangReflectAccess
Reviewed-by: rriggs, darcy
2024-08-21 01:05:41 +00:00
Chen Liang
1ebf2cf639 8336756: Improve ClassFile Annotation writing
Reviewed-by: asotona
2024-08-20 19:02:38 +00:00
Mark Reinhold
0267284c52 8338611: java.lang.module specification wording not aligned with JEP 261
Reviewed-by: alanb
2024-08-20 18:50:17 +00:00
Vladimir Petko
285ceb9ee5 8336529: (fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble
Reviewed-by: bpb, alanb
2024-08-20 15:51:40 +00:00
Chen Liang
b442003048 8338623: StackCounter adding extraneous slots for receiver invoke instructions
Reviewed-by: asotona
2024-08-20 14:44:37 +00:00
Jaikiran Pai
686eb233d5 8336817: Several methods on DatagramSocket and MulticastSocket do not specify behaviour when already closed or connected
Reviewed-by: dfuchs, alanb
2024-08-20 12:28:56 +00:00
Chen Liang
68d1f5c33b 8338543: ClassBuilder withMethod builders should cache the method type symbol
Reviewed-by: asotona
2024-08-20 05:43:04 +00:00
Alan Bateman
2766b09e29 8338452: (dc) DatagramChannelImpl.blockingReceive with timeout may block indefinitely if all datagrams blocked by SecurityManager
Reviewed-by: dfuchs
2024-08-19 12:57:29 +00:00
Adam Sotona
f0fe31383a 8338564: Remove obsolete AbstractNamedEntry::equals method
Reviewed-by: liach
2024-08-19 12:57:17 +00:00
Chen Liang
961e944fa7 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: asotona
2024-08-16 15:48:54 +00:00
Pavel Rappo
07352c6744 8338398: Trivially fix grammar and typos
Reviewed-by: aivanov
2024-08-16 14:06:10 +00:00
Shaojin Wen
5022109b2a 8336856: Efficient hidden class-based string concatenation strategy
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, liach
2024-08-16 13:18:02 +00:00
Andrey Turbanov
60c9b5cd9f 8337839: Make a few fields in MergeCollation static
Reviewed-by: jpai, naoto
2024-08-16 08:49:18 +00:00
Shaojin Wen
74066bcca8 8338409: Use record to simplify code
Reviewed-by: redestad, liach
2024-08-15 22:57:33 +00:00
Chen Liang
ace496515f 8338406: BytecodeHelpers using wrong bootstrap method descriptor for condy
Reviewed-by: asotona
2024-08-15 17:50:34 +00:00
Sonia Zaldana Calles
56dec215b0 8338014: Improve usage of @jvms tags in class file API
Reviewed-by: darcy, liach, asotona
2024-08-15 13:28:25 +00:00
John Engebretson
a5d948fb98 8332842: Optimize empty CopyOnWriteArrayList allocations
Reviewed-by: shade, alanb
2024-08-14 14:11:53 +00:00
Alan Bateman
58b9570544 8338142: (dc) DatagramChannelImpl.blockingReceive can use untimed-park when no timeout set
Reviewed-by: dfuchs
2024-08-13 16:05:38 +00:00
Chen Liang
6af1d6ff21 8335927: Revisit AnnotationConstantValueEntry and AnnotationValue.OfConstant
Reviewed-by: asotona
2024-08-13 15:14:06 +00:00
Viktor Klang
fbe4cc96e2 8336384: AbstractQueuedSynchronizer.acquire should cancel acquire when failing due to a LinkageError or other errors
Reviewed-by: alanb
2024-08-13 09:51:08 +00:00
Andrey Turbanov
82d5768c1b 8337840: Remove redundant null check in ObjectOutputStream.writeProxyDesc
Reviewed-by: rriggs
2024-08-09 07:20:01 +00:00
Roger Riggs
bfb75b9626 8336926: jdk/internal/util/ReferencedKeyTest.java can fail with ConcurrentModificationException
Reviewed-by: bpb, shade, dfuchs
2024-08-08 16:53:38 +00:00
Joe Darcy
78773b1769 8338015: Fix "Java Java" typo in package info file of java.lang.classfile
Reviewed-by: jiefu, jpai, liach
2024-08-08 15:52:17 +00:00
Turkhan Badalov
1846a65e32 8337205: Typo in Stack vs Deque Method table in Deque specification
Reviewed-by: liach
2024-08-08 05:34:32 +00:00
Naoto Sato
d19ba81ce1 8337603: Change in behavior with -Djava.locale.useOldISOCodes=true
Reviewed-by: iris, bpb
2024-08-07 15:58:03 +00:00
Naoto Sato
ff634a9670 8337506: Disable "best-fit" mapping on Windows command line
Reviewed-by: alanb
2024-08-06 20:11:21 +00:00
Jan Lahoda
958786b28f 8332522: SwitchBootstraps::mappedEnumLookup constructs unused array
Reviewed-by: liach, redestad
2024-08-06 09:07:44 +00:00
Per Minborg
219e1eb13a 8337712: Wrong javadoc in java.util.Date#toString(): "61" and right parenthesis
Reviewed-by: rgiulietti
2024-08-05 15:06:38 +00:00
Viktor Klang
d3e7b0c12a 8336462: ConcurrentSkipListSet Javadoc incorrectly warns about size method complexity
Reviewed-by: jpai
2024-08-05 10:56:21 +00:00
Brian Burkhalter
8bd3cd5156 8337716: ByteBuffer hashCode implementations are inconsistent
Reviewed-by: alanb, liach
2024-08-04 15:42:51 +00:00
fabioromano1
367e0a6556 8334755: Asymptotically faster implementation of square root algorithm
Reviewed-by: rgiulietti
2024-08-03 13:08:54 +00:00
Mark Powers
f1fa64b6b6 4966250: SSLSessionContext.setSessionTimeout() documentation could be updated
Reviewed-by: mullan
2024-08-01 16:37:20 +00:00
Chen Liang
93c19ac73c 8337219: AccessFlags factories do not require necessary arguments
Reviewed-by: asotona
2024-07-30 17:41:49 +00:00
Chen Liang
6154a2129b 8336032: Enforce immutability of Lists used by ClassFile API
Reviewed-by: asotona
2024-07-30 17:41:38 +00:00
Chen Liang
ab27090aa0 8337225: Demote maxStack and maxLocals from CodeModel to CodeAttribute
Reviewed-by: asotona
2024-07-29 21:58:08 +00:00
Justin Lu
bd36b6ae5d 8337285: Examine java.text.DecimalFormat API for api/implXxx tag usage
Reviewed-by: naoto, liach
2024-07-29 19:28:14 +00:00
Jan Kratochvil
db168d9e10 8336966: Alpine Linux x86_64 compilation error: sendfile64
Reviewed-by: bpb
2024-07-29 09:18:56 +00:00
Shaojin Wen
2fbdbacad7 8337245: Fix wrong comment of StringConcatHelper
Reviewed-by: phh, redestad
2024-07-27 22:54:47 +00:00
Shaojin Wen
5ff7c57f9f 8337168: Optimize LocalDateTime.toString
Reviewed-by: liach, naoto
2024-07-26 12:10:21 +00:00
Shaojin Wen
7f11935461 8337167: StringSize deduplication
Reviewed-by: liach, rriggs
2024-07-26 07:08:33 +00:00
Brian Burkhalter
8c28f25e13 8337124: (fs) sun.nio.fs.WindowsSecurity.enablePrivilege should pin when continuations supported
Reviewed-by: jpai, alanb
2024-07-25 20:59:48 +00:00
Weijun Wang
b5b5a5b8e5 8336667: IAE in DerInputStream.toByteArray
Reviewed-by: valeriep
2024-07-25 17:11:59 +00:00
Alan Bateman
6e228ce382 8336254: Virtual thread implementation + test updates
Reviewed-by: sspitsyn, kevinw
2024-07-25 04:59:01 +00:00
Shaojin Wen
0898ab7f74 8336741: Optimize LocalTime.toString with StringBuilder.repeat
Reviewed-by: liach, rriggs, naoto
2024-07-24 22:39:49 +00:00
Andrey Turbanov
e716f5ed53 8336755: Remove unused UNALIGNED field from view buffers
Reviewed-by: alanb, liach, bpb
2024-07-24 20:26:11 +00:00
Justin Lu
5a8861a3a1 8336847: Use pattern match switch in NumberFormat classes
Reviewed-by: liach, naoto
2024-07-24 20:14:00 +00:00
Justin Lu
9e8e359513 8336787: Examine java.text.Format API for implSpec usage
Reviewed-by: liach
2024-07-24 20:08:13 +00:00
Naoto Sato
4ea4d7c684 8336679: Add @implSpec for the default implementations in Process.waitFor()
Reviewed-by: bpb, jlu, liach
2024-07-24 16:48:34 +00:00
Jaikiran Pai
04e8cb8641 8336815: Several methods in java.net.Socket and ServerSocket do not specify behavior when already bound, connected or closed
Reviewed-by: alanb
2024-07-24 15:43:53 +00:00
Chen Liang
332df83e7c 8336927: Missing equals and hashCode in java.lang.classfile.Annotation
Reviewed-by: asotona
2024-07-24 12:13:15 +00:00
Shaojin Wen
476d2ae69d 8336831: Optimize StringConcatHelper.simpleConcat
Reviewed-by: liach, redestad, rriggs
2024-07-23 20:21:08 +00:00
Ben Perez
4c91d5cb41 8322133: getParameterSpec(ECGenParameterSpec.class) on EC AlgorithmParameters does not return standard names
Reviewed-by: mullan
2024-07-23 19:35:11 +00:00
Chen Liang
a2a236f904 8335939: Hide element writing across the ClassFile API
Reviewed-by: asotona
2024-07-23 12:11:47 +00:00
Claes Redestad
e83b4b236e 8335182: Consolidate and streamline String concat code shapes
Reviewed-by: liach, jvernee
2024-07-23 11:50:57 +00:00
Raffaello Giulietti
4c7b3e7fc3 8334758: Incorrect note in Javadoc for a few RandomGenerator methods
Reviewed-by: bpb
2024-07-23 07:43:57 +00:00
Alan Bateman
9f03f68755 8336339: (se) SelectionKey.interestOps(int) should not throw ClosedSelectorException
Reviewed-by: jpai, bpb
2024-07-23 05:13:49 +00:00
Chen Liang
22914e0774 8335938: Review XxxBuilder.original and XxxModel.parent
Reviewed-by: asotona
2024-07-23 04:59:58 +00:00
Chen Liang
aabec4a947 8335922: Incorrect @Stable usage of LambdaForm$Name.index
Reviewed-by: jvernee, shade
2024-07-22 22:54:36 +00:00
Chen Liang
96e4a1876a 8304929: MethodTypeDesc throws an unchecked exception than ReflectiveOperationException when a component class cannot be resolved
Reviewed-by: jvernee
2024-07-22 22:53:52 +00:00
Liam Miller-Cushon
8438c5853f 8336844: ZipConstants64 defines duplicate constants EXTID_ZIP64 and ZIP64_EXTID
Reviewed-by: jpai, vtewari, lancea
2024-07-22 17:20:58 +00:00
Naoto Sato
c1c9704268 8336479: Provide Process.waitFor(Duration)
Reviewed-by: liach, jpai, rriggs
2024-07-22 17:17:46 +00:00
Weijun Wang
c3226aaeb8 8334394: Race condition in Class::protectionDomain
Reviewed-by: liach, jpai, rriggs, alanb
2024-07-22 13:43:55 +00:00
Nizar Benalla
92de2b2d5f 8336039: Doccheck: HTML warnings, broken links and missing files in java.base documentation
Reviewed-by: liach, djelinski
2024-07-22 13:27:12 +00:00
Adam Sotona
0db6c15efe 8336833: Endless loop in Javap ClassWriter
Reviewed-by: liach
2024-07-22 07:33:29 +00:00
lingjun.cg
4da9915875 8333396: Use StringBuilder internally for java.text.Format.* formatting
Reviewed-by: naoto, liach, jlu
2024-07-22 02:01:08 +00:00
Hai-May Chao
fd741a88e8 8327538: The SSLExtension class specifies incorrect values for heartbeat per RFC 6520 and post_handshake_auth per RFC 8446
Reviewed-by: wetmore
2024-07-21 17:05:46 +00:00
Aleksei Efimov
b21cb44e38 8329398: Links in InetAddress class description show "#format"
Reviewed-by: jpai
2024-07-20 16:48:30 +00:00
Shaojin Wen
491b9f5efc 8336706: Optimize LocalDate.toString with StringBuilder.repeat
Reviewed-by: liach, rriggs
2024-07-20 06:54:19 +00:00