2320 Commits

Author SHA1 Message Date
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
Valerie Peng
56b7960496 8242897: KeyFactory.generatePublic( x509Spec ) failed with java.security.InvalidKeyException
Changed SunRsaSign provider to accept RSA signature oid in RSA key encoding for backward compatibility

Reviewed-by: weijun
2020-06-03 04:29:04 +00:00
Claes Redestad
0366f6bf45 8246338: Reduce overhead of normalizing file paths
Reviewed-by: alanb
2020-06-02 22:22:58 +02: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
Xue-Lei Andrew Fan
7514ad9ad0 8240871: SSLEngine handshake status immediately after the handshake can be NOT_HANDSHAKING rather than FINISHED with TLSv1.3
Reviewed-by: ascarpino
2020-05-29 13:48:13 -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
Athijegannathan Sundararajan
8ea971e373 8246034: Remove java.base/share/classes/jdk/internal/jrtfs/jrtfsviewer.js and java.base/share/classes/jdk/internal/jrtfs/jrtls.js
Reviewed-by: jlaskey, alanb
2020-05-28 12:38:03 +05:30
Claes Redestad
7e85b2c787 8245969: Simplify String concat constant folding
Reviewed-by: psandoz, forax
2020-05-28 00:35:04 +02:00
Xue-Lei Andrew Fan
17a298962c 8206925: Support the certificate_authorities extension
Reviewed-by: mullan
2020-05-27 09:46:40 -07: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
Mikael Vidstedt
44a0a08991 8245600: Clean up libjli
Reviewed-by: dholmes, alanb
2020-05-26 10:18:32 -07: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
Claes Redestad
36c4b11bc6 8245455: Remove alternative StringConcatFactory strategies
Reviewed-by: jlaskey, psandoz, forax, mchung
2020-05-25 12:03:30 +02:00
Chris Hegarty
f3eb44a94d 8243491: Implementation of Foreign-Memory Access API (Second Incubator)
Upstream latest changes of the Foreign-Memory Access API

Co-authored-by: Jorn Vernee <jorn.vernee@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, psandoz
2020-05-25 10:54:39 +01:00
Michael McMahon
2f80d69518 8241389: URLConnection::getHeaderFields returns result inconsistent with getHeaderField/Key for FileURLConnection, FtpURLConnection
Reviewed-by: dfuchs
2020-05-22 21:59:40 +01:00
Claes Redestad
b2269be8db 8245623: Remove unused code in sun/nio/fs after Solaris removal
Reviewed-by: alanb
2020-05-22 14:21:30 +02:00
Claes Redestad
de37507b8e 8245619: Remove unused methods in UnixNativeDispatcher
Reviewed-by: alanb
2020-05-22 12:10:55 +02:00
Claes Redestad
113c48f5da 8215401: Add isEmpty default method to CharSequence
Reviewed-by: jlaskey, rriggs, jjg, alanb, smarks, darcy
2020-05-22 11:20:57 +02:00
Naoto Sato
ea38873d30 8239480: Support for CLDR version 37
Reviewed-by: joehw
2020-05-21 13:56:11 -07:00
Naoto Sato
b5b6ae32d2 8245241: Incorrect locale provider preference is not logged
Reviewed-by: joehw, dfuchs
2020-05-21 13:55:06 -07:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Jim Laskey
afe76a97d5 8245398: Remove addition preview adornment from String::formatted
Reviewed-by: psandoz
2020-05-20 10:00:52 -03:00
Claes Redestad
6812f6f641 8218173: exception during StringConcatFactory clinit breaks string concat with no fallback
Reviewed-by: psandoz, jlaskey
2020-05-20 11:35:58 +02:00
Valerie Peng
080b3b83eb 8242151: Improve OID mapping and reuse among JDK security providers for aliases registration
Use sun.security.util.KnownOIDs enum instead of hardcoding oid strings everywhere

Reviewed-by: weijun
2020-05-19 04:05:03 +00:00
Anthony Scarpino
fd28aad72d 8166597: Crypto support for the EdDSA Signature Algorithm
Reviewed-by: weijun, mullan, wetmore
2020-05-18 09:42:52 -07:00
Michael McMahon
0f7aeed416 8241305: Add protocol specific factory creation methods to SocketChannel and ServerSocketChannel
Reviewed-by: alanb, chegar, dfuchs
2020-05-17 21:15:33 +01:00
Vicente Romero
9efdaacc31 8242478: compiler implementation for records (Second Preview)
Reviewed-by: mcimadamore, jlahoda, darcy
2020-05-17 11:09:52 -04:00
Pavel Rappo
36fb21dc2f 8245111: Update doc comments for improved processing by the Standard Doclet
Reviewed-by: dfuchs, joehw, lancea, rriggs
2020-05-15 20:38:28 +01:00
Claes Redestad
150d6cfea8 8245094: Reduce overhead of initializing the default StringConcatFactory strategy
Reviewed-by: psandoz, jlaskey
2020-05-15 18:37:08 +02:00
Patrick Concannon
fad2cf51ba 8241072: Reimplement the Legacy DatagramSocket API
Replace the underlying implementations of the java.net.DatagramSocket and java.net.MulticastSocket APIs with simpler and more modern implementations that are easy to maintain and debug.

Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: alanb, chegar, dfuchs
2020-05-12 21:51:53 +01:00
Claes Redestad
82f2a0e2e4 8245024: Simplify and eagerly initialize StringConcatFactory
Reviewed-by: psandoz
2020-05-15 12:25:37 +02:00
Mandy Chung
b883badc47 8244961: MethodHandles::privateLookupIn throws NPE when called during initPhase2
Reviewed-by: chegar
2020-05-14 17:05:41 -07:00
Naoto Sato
80c75c9fa9 8239383: Support for Unicode 13.0
Reviewed-by: rriggs, joehw
2020-05-13 15:46:08 -07:00
Claes Redestad
168cdcf65d 8244936: Reduce JNI overhead of accessing FileDescriptor
Reviewed-by: rriggs, alanb
2020-05-13 22:25:14 +02:00
Brent Christian
cdf8cc5706 8244855: Remove unused "getParent" function from Windows jni_util_md.c
Reviewed-by: lancea, naoto
2020-05-12 14:19:21 -07:00
Johannes Kuhn
06d6234213 8244767: Potential non-terminated string in getEncodingInternal() on Windows
Reviewed-by: bpb, naoto
2020-05-12 11:20:34 -07:00
Claes Redestad
fc842d2b4b 8193066: Avoid use of capturing lambdas in JarFile
Reviewed-by: lancea, alanb
2020-05-11 21:43:57 +02:00
Claes Redestad
ceda3089db 8244624: Improve handling of JarFile META-INF resources
Reviewed-by: lancea, weijun, martin
2020-05-11 10:37:54 +02:00