2205 Commits

Author SHA1 Message Date
Maurizio Cimadamore
e1f140d270 8287206: Use WrongThreadException for confinement errors
Reviewed-by: alanb, darcy, mchung
2022-05-25 09:50:55 +00:00
Mark Powers
6cc4bb1169 6725221: Standardize obtaining boolean properties with defaults
Reviewed-by: prr, rriggs
2022-05-24 18:16:07 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Naoto Sato
ef7a9f8170 8279185: Support for IsoFields in JapaneseDate/MinguoDate/ThaiBuddhistDate
Reviewed-by: joehw, rriggs
2022-05-23 16:20:52 +00:00
Maurizio Cimadamore
89a1d055d9 8286715: Generalize MemorySegment::ofBuffer
Reviewed-by: jvernee
2022-05-23 08:43:51 +00:00
Claes Redestad
d5d19f52ce 8287013: StringConcatFactory: remove short and byte mixers/prependers
Reviewed-by: jlaskey
2022-05-20 08:17:23 +00:00
Andrey Turbanov
de74e0e25a 8280035: Use Class.isInstance instead of Class.isAssignableFrom where applicable
Reviewed-by: prr, rriggs
2022-05-19 21:43:32 +00:00
Valerie Peng
e60d8b516e 8253176: Signature.getParameters should specify that it can throw UnsupportedOperationException
Reviewed-by: weijun
2022-05-19 18:44:15 +00:00
Christian Stein
655500a4f5 8286654: Add an optional description accessor on ToolProvider interface
Reviewed-by: jjg, darcy, lancea
2022-05-19 18:25:12 +00:00
Andrey Turbanov
6b9c15211e 8286366: (cs) Charset.put can use putIfAbsent instead of containsKey+put
Reviewed-by: alanb
2022-05-18 17:43:38 +00:00
Jorn Vernee
ee45a0ac63 8286669: Replace MethodHandle specialization with ASM in mainline
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2022-05-18 16:03:18 +00:00
Jorn Vernee
81e4bdbe13 8283689: Update the foreign linker VM implementation
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Nick Gasson <ngasson@openjdk.org>
Reviewed-by: mcimadamore, vlivanov, rehn
2022-05-18 09:49:55 +00:00
Brian Burkhalter
1d8e92ae0d 8213045: Add BigDecimal.TWO
Reviewed-by: darcy
2022-05-17 18:08:32 +00:00
Joe Darcy
8e602b862d 8286783: Expand use of @inheritDoc in InputStream and OutputStream subclasses
Reviewed-by: alanb
2022-05-17 16:14:28 +00:00
Joe Darcy
4bc7b7df04 8286760: Update citation of "Effective Java" second edition to third edition
Reviewed-by: bpb, prappo
2022-05-16 16:07:30 +00:00
Naoto Sato
b884db8f7c 8285844: TimeZone.getTimeZone(ZoneOffset) does not work for all ZoneOffsets and returns GMT unexpected
Reviewed-by: uschindler, scolebourne, joehw
2022-05-16 15:45:01 +00:00
Brian Burkhalter
dbd3737085 8286200: SequenceInputStream::read(b, off, 0) returns -1 at EOF
Reviewed-by: rriggs
2022-05-16 15:42:29 +00:00
Jan Lahoda
0155e4b76b 8282274: Compiler implementation for Pattern Matching for switch (Third Preview)
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore, vromero, abimpoudis
2022-05-16 07:49:26 +00:00
Jaikiran Pai
e4378ab28d 8286559: Re-examine synchronization of mark and reset methods on InflaterInputStream
Reviewed-by: lancea, alanb, bpb
2022-05-14 03:21:01 +00:00
Joe Darcy
1e843c3d4f 8286604: Update InputStream and OutputStream to use @implSpec
Reviewed-by: bpb, lancea, iris, alanb
2022-05-13 16:57:11 +00:00
Joe Darcy
160944bc6b 8286615: Small refactor to SerializedLambda
Reviewed-by: bpb, iris
2022-05-12 16:56:05 +00:00
Roger Riggs
17c52789b7 8286378: Address possibly lossy conversions in java.base
Reviewed-by: naoto, xuelei, bpb, alanb
2022-05-12 16:50:36 +00:00
Maurizio Cimadamore
2c5d136260 8282191: Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: erikj, jvernee, psandoz, dholmes, mchung
2022-05-12 16:17:45 +00:00
Naoto Sato
cc7560e995 8286287: Reading file as UTF-16 causes Error which "shouldn't happen"
Reviewed-by: jpai, bpb, rriggs
2022-05-12 15:58:19 +00:00
Xue-Lei Andrew Fan
1904e9d280 8286423: Destroy password protection in the example code in KeyStore
Reviewed-by: weijun
2022-05-12 13:51:47 +00:00
Sergey Tsypanov
9073a98d57 8282701: Use Class.getInterfaces(false) where possible to reduce allocation pressure
Reviewed-by: redestad, mchung
2022-05-10 17:19:33 +00:00
Brian Burkhalter
04bba07d65 8286363: BigInteger.parallelMultiply missing @since 19
Reviewed-by: alanb, darcy
2022-05-10 15:30:38 +00:00
Claes Redestad
3fa1c40439 8286298: Remove unused methods in sun.invoke.util.VerifyType
Reviewed-by: bpb, alanb, mchung
2022-05-10 09:01:40 +00:00
Lennart Fricke
3462190965 8286163: micro-optimize Instant.plusSeconds
Reviewed-by: scolebourne, redestad, naoto
2022-05-10 09:00:09 +00:00
Jonathan Gibbons
54e3308210 8286348: incorrect use of @serial
Reviewed-by: iris, prr
2022-05-09 20:35:05 +00:00
Doug Lea
4f5d73f2d4 8286294: ForkJoinPool.commonPool().close() spins
Reviewed-by: alanb
2022-05-09 11:09:34 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Joe Darcy
59ef76a365 8285497: Add system property for Java SE specification maintenance version
Reviewed-by: mullan, jpai, iris
2022-05-05 22:23:41 +00:00
Andrey Turbanov
dce860aa8a 8285947: Avoid redundant HashMap.containsKey calls in ZoneName
Reviewed-by: scolebourne, naoto, rriggs
2022-05-05 13:19:14 +00:00
Doug Lea
00e6c63cd1 8277090: jsr166 refresh for jdk19
Reviewed-by: alanb, psandoz
2022-05-04 19:24:19 +00:00
Yasser Bazzi Bordonal
df8c2be5fe 8279598: Provide adapter from RandomGenerator to Random
Reviewed-by: smarks, darcy
2022-05-04 17:55:50 +00:00
Joe Darcy
3cbf769f55 8285977: Add links to IEEE 754 specification
Reviewed-by: jjg, iris, bpb
2022-05-03 16:58:19 +00:00
Brian Burkhalter
9d8c3bf9f8 8285745: Re-examine PushbackInputStream mark/reset
Reviewed-by: jpai, alanb
2022-05-02 18:19:36 +00:00
Pavel Rappo
3eb661bbe7 8285890: Fix some @param tags
Reviewed-by: dfuchs, mullan, darcy, mchung, wetmore
2022-04-30 21:21:17 +00:00
Sean Mullan
694556e137 8225433: Clarify behavior of PKIXParameters.setRevocationEnabled when PKIXRevocationChecker is used
Reviewed-by: xuelei, hchao
2022-04-29 12:27:43 +00:00
Joe Darcy
bba456a8db 8285676: Add missing @param tags for type parameters on classes and interfaces
Reviewed-by: wetmore, smarks, dfuchs, prr, alanb, mchung
2022-04-28 18:00:34 +00:00
Bradford Wetmore
cf1b00a604 8285683: Missing @ since 11 in java.security.spec.MGF1ParameterSpec fields
Reviewed-by: hchao, valeriep, xuelei, mullan
2022-04-27 23:54:37 +00:00
Raffaello Giulietti
1f868f1d09 8285658: Fix two typos in the spec of j.u.random.RandomGenerator
Reviewed-by: bpb, darcy
2022-04-27 19:19:29 +00:00
Claes Redestad
6c79671e50 8285633: Take better advantage of generic MethodType cache
Reviewed-by: jvernee
2022-04-27 17:54:21 +00:00
Johnny Lim
4919525ddb 8285440: Typo in Collections.addAll method javadoc
Reviewed-by: jpai, rriggs
2022-04-27 14:18:51 +00:00
Naoto Sato
03bcf7b6d1 8283620: System.out does not use the encoding/charset specified in the Javadoc
Reviewed-by: alanb
2022-04-26 16:05:20 +00:00
Brian Burkhalter
a3b788144e 8284930: Re-examine FilterInputStream mark/reset
Reviewed-by: alanb, jpai, dfuchs, lancea
2022-04-26 15:35:45 +00:00
Joe Darcy
d435d692b0 8285614: Fix typo in java.lang.Float
Reviewed-by: naoto, lancea, iris
2022-04-25 23:03:11 +00:00
Raffaello Giulietti
fb605944b5 8285477: Add a PRECISION public static field to j.l.Float and j.l.Double
Reviewed-by: darcy
2022-04-25 17:18:46 +00:00
Jim Laskey
85641c651d 8283084: RandomGenerator nextDouble(double, double) is documented incorrectly
Reviewed-by: bpb, darcy
2022-04-21 13:45:50 +00:00