548 Commits

Author SHA1 Message Date
Bradford Wetmore
32cbd193d9 8263105: security-libs doclint cleanup
Reviewed-by: iris, darcy, dfuchs, mullan
2021-03-11 00:26:26 +00:00
Ian Graves
6971c23a3a 8262351: Extra '0' in java.util.Formatter for '%012a' conversion with a sign character
Reviewed-by: bchristi, naoto
2021-03-10 22:46:32 +00:00
Patrick Concannon
fbe40e8926 8252399: Update mapMulti documentation to use type test pattern instead of instanceof once JEP 375 exits preview
Reviewed-by: dfuchs, psandoz, smarks
2021-03-09 11:09:40 +00:00
Claes Redestad
f71b21b0e7 8263038: Optimize String.format for simple specifiers
Reviewed-by: rriggs, naoto
2021-03-08 23:13:45 +00:00
Martin Buchholz
eb4a8af559 8260664: Phaser.arrive() memory consistency effects
Reviewed-by: dl
2021-03-08 20:11:18 +00:00
Claes Redestad
13625bebd0 8263090: Avoid reading volatile fields twice in Locale.getDefault(Category)
Reviewed-by: rriggs, naoto, serb
2021-03-08 10:32:55 +00:00
Ian Graves
dbef0ec95d 6323374: (coll) Optimize Collections.unmodifiable* and synchronized*
Reviewed-by: redestad, smarks, darcy
2021-03-05 03:20:44 +00:00
Jonathan Gibbons
20b9ba53a5 8262875: doccheck: empty paragraphs, etc in java.base module
Reviewed-by: alanb, darcy, lancea
2021-03-02 20:35:51 +00:00
Doug Lea
5b7b18c5bf 8259800: timeout in tck test testForkJoin(ForkJoinPool8Test)
Reviewed-by: martin, dholmes
2021-02-22 12:42:40 +00:00
Joe Darcy
d547e1a847 8261123: Augment discussion of equivalence classes in Object.equals and comparison methods
Reviewed-by: bpb, smarks, rriggs
2021-02-17 01:08:39 +00:00
Ian Graves
350303d4f0 8260221: java.util.Formatter throws wrong exception for mismatched flags in %% conversion
Reviewed-by: smarks
2021-02-12 16:06:39 +00:00
Brian Burkhalter
f395ee0c76 8261306: ServiceLoader documentation has malformed Unicode escape
Reviewed-by: lancea, iris, naoto
2021-02-09 16:43:36 +00:00
Naoto Sato
4a1814cbf0 8261179: Norwegian Bokmål Locale fallback issue
Reviewed-by: joehw
2021-02-05 18:15:40 +00:00
Claes Redestad
c8de943c1f 8260617: Merge ZipFile encoding check with the initial hash calculation
Reviewed-by: lancea
2021-02-03 11:43:17 +00:00
Roger Riggs
c7661aed6f 8260561: [doc] HexFormat has incorrect @since tag
Reviewed-by: darcy, naoto, bpb, lancea
2021-01-27 22:37:43 +00:00
Stuart Marks
eb9236853c 8259816: Typo in java.util.stream package description
Reviewed-by: iris, lancea, naoto
2021-01-27 19:02:49 +00:00
Joe Darcy
73c78c8aa0 8260329: Update references to TAOCP to latest edition
Reviewed-by: alanb, bpb
2021-01-25 19:06:56 +00:00
Claes Redestad
1f47de5f6a 8260010: UTF8ZipCoder not thread-safe since JDK-8243469
Reviewed-by: lancea
2021-01-20 23:42:29 +00:00
Eirik Bjorsnos
05294802c4 8259867: Move encoding checks into ZipCoder
Reviewed-by: redestad, lancea
2021-01-20 12:02:39 +00:00
Jesper Wilhelmsson
cf25383d19 Merge 2021-01-19 22:49:44 +00:00
Martin Buchholz
f7b96d347a 8259796: timed CompletableFuture.get may swallow InterruptedException
Reviewed-by: dl, alanb
2021-01-19 18:41:08 +00:00
Sergey Tsypanov
27a39c8d3f 8193031: Collections.addAll is likely to perform worse than Collection.addAll
Reviewed-by: plevart
2021-01-15 17:38:08 +00:00
Tagir F. Valeev
2c8e337dff 8259622: TreeMap.computeIfAbsent deviates from spec
Reviewed-by: smarks
2021-01-15 04:11:31 +00:00
Jamil Nimeh
8554fe6ebc 8253866: Security Libs Terminology Refresh
Reviewed-by: erikj, weijun, mullan
2021-01-14 16:36:51 +00:00
Jesper Wilhelmsson
51e14f2e2a Merge 2021-01-14 01:29:47 +00:00
Stuart Marks
8a81cf154f 8259298: broken link in Stream::toList spec
Reviewed-by: bchristi, iris, lancea, naoto
2021-01-12 17:04:34 +00:00
Martin Buchholz
9154f64349 8254973: CompletableFuture.ThreadPerTaskExecutor does not throw NPE in #execute
Reviewed-by: dl
2021-01-10 23:47:04 +00:00
Martin Buchholz
e7c174083a 8258187: IllegalMonitorStateException in ArrayBlockingQueue
Reviewed-by: dl
2021-01-10 18:38:00 +00:00
Martin Buchholz
11d5b04791 8258217: PriorityBlockingQueue constructor spec and behavior mismatch
Reviewed-by: dl
2021-01-10 18:20:16 +00:00
Martin Buchholz
270014ab4e 8234131: Miscellaneous changes imported from jsr166 CVS 2021-01
8257671: ThreadPoolExecutor.Discard*Policy: rejected tasks are not cancelled

Reviewed-by: alanb, prappo, dl
2021-01-09 21:59:27 +00:00
Martin Buchholz
63e3bd7613 8246677: LinkedTransferQueue and SynchronousQueue synchronization updates
Reviewed-by: alanb, dl
2021-01-09 21:08:32 +00:00
Martin Buchholz
5cfa8c94d6 8246585: ForkJoin updates
8229253: forkjoin/FJExceptionTableLeak.java fails "AssertionError: failed to satisfy condition"

Reviewed-by: dl
2021-01-09 20:57:52 +00:00
Jesper Wilhelmsson
d234388042 Merge 2020-12-21 09:09:05 +00:00
Stuart Marks
cbc3feeb89 8258259: Unicode linebreak matching behavior is incorrect; backout JDK-8235812
Reviewed-by: naoto
2020-12-18 00:36:33 +00:00
Brent Christian
b2f035549a 8253497: Core Libs Terminology Refresh
Reviewed-by: naoto, kcr, rriggs, joehw, bpb, smarks, alanb
2020-12-16 23:09:20 +00:00
Roger Riggs
aa9c136d67 8251989: Hex formatting and parsing utility
Reviewed-by: tvaleev, chegar, naoto, darcy
2020-12-16 20:29:49 +00:00
Jesper Wilhelmsson
381021aebf Merge 2020-12-15 03:40:30 +00:00
Martin Buchholz
43dc3f7992 8254350: CompletableFuture.get may swallow InterruptedException
Reviewed-by: alanb, dl
2020-12-13 19:17:36 +00:00
John Lin
37dc675cd0 8247402: Documentation for Map::compute contains confusing implementation requirements
Reviewed-by: prappo, martin
2020-12-11 00:26:10 +00:00
Dan Smith
48d8650ae1 8257845: Integrate JEP 390
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal

Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
Mandy Chung
972bc3b408 8256167: Convert JDK use of Reference::get to Reference::refersTo
Reviewed-by: sspitsyn, shade, dfuchs, alanb, kbarrett
2020-12-06 00:08:22 +00:00
Martin Buchholz
c4339c3064 8243614: Typo in ReentrantLock's Javadoc
Reviewed-by: dholmes, alanb
2020-12-05 08:44:22 +00:00
Stuart Marks
2b73f9929f 8228615: Optional.empty doc should suggest using isEmpty
Reviewed-by: lancea, bpb, naoto
2020-12-03 19:32:53 +00:00
Stuart Marks
41dbc139ab 8180352: Add Stream.toList() method
Reviewed-by: psandoz
2020-11-30 19:37:56 +00:00
Fleshgrinder
b4cba15a0e 8170432: Class java.util.UUID & @Override
Reviewed-by: dfuchs, lancea
2020-11-27 19:29:50 +00:00
Ian Graves
080c707aab 8253459: Formatter treats index, width and precision > Integer.MAX_VALUE incorrectly
Reviewed-by: rriggs, smarks
2020-11-19 20:20:55 +00:00
Hai-May Chao
9bb82232fa 8253299: Manifest bytes are read twice when verifying a signed JAR
Reviewed-by: redestad, lancea, alanb
2020-11-19 17:22:59 +00:00
Roland Westrelin
a7422ac2f4 8255150: Add utility methods to check long indexes and ranges
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Reviewed-by: jvernee, dlong, vlivanov
2020-11-17 10:37:27 +00:00
Corey Ashford
ccb48b7203 8248188: Add IntrinsicCandidate and API for Base64 decoding
8248188: Add IntrinsicCandidate and API for Base64 decoding, add Power64LE intrinsic implementation.

This patch set encompasses the following commits:

Adds a new intrinsic candidate to the java.lang.Base64 class - decodeBlock(), and provides a flexible API for the intrinsic. The API is similar to the existing encodeBlock intrinsic.

Adds the code in HotSpot to check and martial the new intrinsic's arguments to the arch-specific intrinsic implementation.

Adds a Power64LE-specific implementation of the decodeBlock intrinsic.

Adds a JMH microbenchmark for both Base64 encoding and encoding.

Enhances the JTReg hotspot intrinsic "TestBase64.java" regression test to more fully test both decoding and encoding.

Reviewed-by: rriggs, mdoerr, kvn
2020-11-11 21:31:07 +00:00
Lance Andersen
6247736fc9 8256018: Adler32/CRC32/CRC32C missing reachabilityFence
Reviewed-by: naoto, alanb
2020-11-11 15:34:03 +00:00