Jesper Wilhelmsson
6d2959b393
Merge
2020-06-17 05:28:05 +02:00
Vicente Romero
dee90e4736
8246098: API for Class::permittedSubclasses should clarify if returned elements are ordered or not
...
Reviewed-by: chegar
2020-06-16 17:25:02 -04:00
Valerie Peng
f968f32789
8246077: Cloneable test in HmacCore seems questionable
...
Updated java.security.MessageDigest and Signature classes to return Cloneable obj for Cloneable spi obj
Reviewed-by: weijun, xuelei, coffeys
2020-06-15 23:30:49 +00:00
Weijun Wang
2536cbf2cf
8245679: KeyStore cannot probe PKCS12 keystore if BouncyCastle is the top security provider
...
Reviewed-by: mullan
2020-06-13 17:49:15 +08:00
Valerie Peng
0b8f18beda
8246613: Choose the default SecureRandom algo based on registration ordering
...
Fixed java.security.Provider and SecureRandom to use the 1st registered SecureRandom service
Reviewed-by: weijun, mullan
2020-06-12 02:34:44 +00:00
Tagir F. Valeev
0a108f9ef2
8247605: Avoid array allocation when concatenating with empty string
...
Reviewed-by: redestad, plevart
2020-06-16 03:16:41 +00:00
Jesper Wilhelmsson
e33ebc7f0a
Merge
2020-06-16 04:20:30 +02:00
Naoto Sato
23e2f27996
8246623: Remove minimum 4 digit requirement from Year.parse()
...
Reviewed-by: lancea, rriggs, joehw
2020-06-15 09:21:39 -07:00
Jesper Wilhelmsson
76879aa9c6
Merge
2020-06-15 02:40:51 +02:00
Jesper Wilhelmsson
494f9667b4
Merge
2020-06-12 05:12:32 +02:00
Joe Darcy
b81f2f1f48
8245620: Improve Annotation.annotationType() documentation
...
Reviewed-by: alanb, prappo
2020-06-11 15:55:19 -07:00
Jim Laskey
03642a01af
8230744: Several classes throw OutOfMemoryError without message
...
Reviewed-by: psandoz, martin, bchristi, rriggs, smarks
2020-06-11 10:08:23 -03:00
Alan Bateman
c563c3d15b
8241770: Module xxxAnnotation() methods throw NCDFE if module-info.class found as resource in unnamed module
...
Reviewed-by: mchung
2020-06-11 07:27:22 +01:00
Claes Redestad
99136026b8
8246129: ZIP entries created for DOS epoch include local timezone metadata
...
Reviewed-by: lancea
2020-06-10 20:53:04 +02:00
Calvin Cheung
847a3baca8
8198698: Support Lambda proxy classes in dynamic CDS archive
...
Added archving of hidden classes of type lambda proxy classes.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: mchung, iklam, dholmes
2020-06-10 15:50:26 +00:00
Patrick Concannon
2e8356ea40
8244933: DatagramSocket.connect does not specify that it may cause datagrams in the socket receive buffer to be discarded
...
This fix updates the javadoc for `DatagramSocket.connect` to inform the user that it may cause datagrams in the socket receive buffer to be discarded if not previously received via a call to `DatagramSocket.receive`.
Reviewed-by: alanb, dfuchs
2020-06-10 11:08:19 +01:00
Conor Cleary
0e770d1e3f
8243655: Map.replace javadoc code snippet typo
...
Replace 'value' with 'oldValue' in Map.replace(K, V, V) javadoc
Reviewed-by: jlaskey, martin, prappo, jboes
2020-06-10 09:56:33 +01:00
Naoto Sato
27e168677f
8246662: Test java/time/test/java/time/format/TestUnicodeExtension.java failed on japanese locale
...
Reviewed-by: rriggs, joehw
2020-06-09 14:46:08 -07:00
Pavel Rappo
6e43cddad7
8247115: Fix typos in java.lang.invoke and java.lang
...
Reviewed-by: lancea
2020-06-09 16:28:10 +01:00
Pavel Rappo
3df95aa377
8247212: Use assistant markup in java.lang.module.ModuleDescriptor
...
Reviewed-by: alanb
2020-06-09 16:17:09 +01:00
Vicente Romero
59428f4a0d
8245958: j.l.Record need to mention that canonical constructor may not be public
...
Reviewed-by: mchung
2020-06-09 10:31:05 -04:00
Patrick Concannon
ac906168c8
8243999: DatagramSocket and MulticastSocket constructors don't specify how a null InetAddress is handled
...
This fix clarifies the behaviours of constructors from DatagramSocket and MulticastSocket when no address or a null address is supplied.
Reviewed-by: dfuchs
2020-06-09 15:26:53 +01:00
Mandy Chung
71d646a160
8235521: Replacement API for Unsafe::ensureClassInitialized
...
Reviewed-by: alanb, chegar, psandoz
2020-06-08 16:55:45 -07:00
Claes Redestad
9cd41b6555
8246592: Simplify checking of boolean file attributes
...
Reviewed-by: rriggs, alanb
2020-06-08 22:47:16 +02:00
Brian Burkhalter
1786701011
8246729: MappedByteBuffer.force() throws IndexOutOfBoundsException
...
Reviewed-by: psandoz, alanb
2020-06-08 13:15:59 -07:00
Anthony Scarpino
785b914282
8243424: Signature and SignatureSpi get parameter methods may return null when unsupported
...
Reviewed-by: mullan
2020-06-08 10:45:58 -07:00
Claes Redestad
a043bd0ff8
8246632: StringConcatFactory::makeConcatWithConstants no longer throws NullPointerException when an unexpected constant is null
...
Reviewed-by: rriggs, mchung
2020-06-08 19:23:51 +02:00
Fernando Guallini
8d19eca78c
8222241: Example in ServiceLoader API docs should have one provides directive
...
This patch fixes an example given in the ServiceLoader API doc that, if used, would result in a compilation error.
Reviewed-by: alanb
2020-06-05 17:34:49 +01:00
Jim Laskey
4de4200652
8230743: StringJoiner does not handle too large strings correctly
...
Reviewed-by: rriggs, psandoz, martin
2020-06-05 09:37:14 -03:00
Brian Burkhalter
9cadf1a004
8246282: [REDO] JDK-8245121 (bf) XBuffer.put(Xbuffer src) can give unexpected result when storage overlaps
...
Reviewed-by: psandoz, alanb
2020-06-04 11:39:39 -07:00
Weijun Wang
bcbe46b0b3
8246397: Use KnownOIDs for known OIDs
...
Reviewed-by: xuelei
2020-06-04 10:04:32 +08:00
Chris Hegarty
f1e1cb7055
8246095: Tweaks to memory access API
...
Add more user friendly API points to the foreign memory acesss API
Reviewed-by: chegar, psandoz
2020-06-03 16:50:03 +01:00
Chris Hegarty
eec7750e55
8238763: ObjectInputStream readUnshared method handling of Records
...
Reviewed-by: rriggs
2020-06-03 15:46:53 +01:00
Conor Cleary
10874e0291
8245658: Arrays.java has two occurrences of bad unicode constants in Javadoc
...
This patch fixes two instances of bad unicode formatting in the javadoc for Arrays.java where the null character constant was incorrectly specified.
Reviewed-by: jlaskey, lancea, prappo, dfuchs
2020-06-03 14:31:04 +01:00
Claes Redestad
19257f4fb7
8246241: LambdaFormEditor should use a transform lookup key that is not a SoftReference
...
Reviewed-by: psandoz, mchung
2020-06-02 12:34:05 +02:00
Conor Cleary
22532ff30e
8242281: IntStream.html#reduce doc should not mention average
...
Remove mention of average function in apiNote of IntStream::reduce(int, IntBinaryOperator)
Reviewed-by: psandoz, jlaskey, lancea, dfuchs
2020-06-02 11:25:58 +01:00
Vicente Romero
d42bfef8a4
8227046: compiler implementation for sealed classes
...
8225056: VM support for sealed classes
8227044: javax.lang.model for sealed classes
8227045: Preview APIs support for sealed classes
8227047: Javadoc for sealed types
8245854: JVM TI Specification for sealed classes
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, forax, darcy, dholmes, jlahoda, lfoltan, mchung, sspitsyn, vromero
2020-06-01 17:00:40 -04:00
Mandy Chung
5e5880d4f1
8245061: Lookup::defineHiddenClass should throw ClassFormatError if this_class is not Class_info structure
...
8245432: Lookup::defineHiddenClass should throw UnsupportedClassVersionError if bytes are of an unsupported major or minor version
8245596: Clarify Lookup::defineHiddenClass spec @throws IAE if the bytes has ACC_MODULE flag set
Reviewed-by: alanb, dholmes
2020-06-01 13:19:06 -07:00
Claes Redestad
1f698a35f2
8246152: Improve String concat bootstrapping
...
Reviewed-by: forax, psandoz
2020-06-01 22:04:22 +02:00
Jim Laskey
bfd2e96120
8230800: Clarify String::stripIndent javadoc when string ends with line terminator
...
Reviewed-by: jlaskey, bchristi, rriggs
2020-06-01 08:17:32 -03:00
Hong Shao Yang
0082c69496
8246198: Typo in java/util/regex/Pattern.java
...
Reviewed-by: lancea, prappo, naoto
2020-05-31 11:32:44 -04:00
Brian Burkhalter
c328bca493
8246183: Scanner/ScanTest.java fails due to SIGSEGV in StubRoutines::jshort_disjoint_arraycopy
...
Reviewed-by: mikael, smarks
2020-05-29 19:08:57 -07:00
Brian Burkhalter
cd340d5e70
8245121: (bf) XBuffer.put(Xbuffer src) can give unexpected result when storage overlaps
...
Reviewed-by: alanb, darcy, psandoz
2020-05-29 14:23:51 -07:00
Aleksei Efimov
02fbf44cc7
8244958: preferIPv4Stack and preferIPv6Addresses do not affect addresses returned by HostsFileNameService
...
Reviewed-by: dfuchs, alanb, vtewari
2020-05-29 13:39:16 +01:00
Patrick Concannon
4708c6d343
8243507: DatagramSocket constructors don’t always specify what happens when passed invalid parameters
...
This fix updates the spec for DatagramSocket's constructors to inform the user of the Exceptions thrown when an invalid argument is passed.
Reviewed-by: dfuchs
2020-05-29 11:08:09 +01:00
Claes Redestad
7e85b2c787
8245969: Simplify String concat constant folding
...
Reviewed-by: psandoz, forax
2020-05-28 00:35:04 +02:00
Claes Redestad
5200d162bc
8245756: Reduce bootstrap cost of StringConcatFactory prependers
...
Reviewed-by: forax, psandoz
2020-05-27 12:42:55 +02:00
Michael McMahon
5374383dcd
8245582: j.net.URLConnection::getHeaderFieldKey(int) behavior does not reliably conform to its specification
...
Reviewed-by: chegar, dfuchs
2020-05-26 21:29:33 +01:00
Christoph Dreis
bc822ffad8
8245678: Avoid allocations in Executable.getAllGenericParameterTypes
...
Reviewed-by: jlaskey, redestad
2020-05-25 22:26:18 +02:00
Christoph Dreis
742d35e08a
8245677
: Optimize lookups in empty HashMaps
...
Reviewed-by: jlaskey, redestad
2020-05-25 22:21:45 +02:00