Henry Jen
da6f620059
Merge
2019-04-15 18:24:37 -07:00
Sergei Tsypanov
9d979eaf56
8222151: refactoring: enhancements to java.lang.Class::methodToString and java.lang.Class::getTypeName
...
Reviewed-by: darcy
2019-04-11 22:56:11 -04:00
Claes Redestad
8ee30d4fbe
8222029: Optimize Math.floorMod
...
Reviewed-by: aph, darcy
2019-04-10 20:03:07 +02:00
Claes Redestad
89a267ca46
8221836: Avoid recalculating String.hash when zero
...
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jrose, adinn
2019-04-10 12:05:50 +02:00
Valerie Peng
3b6b6b3cb3
8216039: TLS with BC and RSASSA-PSS breaks ECDHServerKeyExchange
...
Add internal Signature init methods to select provider based on both key and parameter
Reviewed-by: xuelei
2019-04-10 02:35:18 +00:00
Ivan Gerasimov
eebe346715
8221430: StringBuffer(CharSequence) constructor truncates when -XX:-CompactStrings specified
...
Co-authored-by: Andrew Leonard <andrew_m_leonard@uk.ibm.com>
Reviewed-by: igerasim, rriggs
2019-04-09 16:32:22 -07:00
Stuart Marks
1aa784cdac
8221924: get(null) on single-entry unmodifiable Map returns null instead of throwing NPE
...
Reviewed-by: redestad, lancea
2019-04-09 09:49:36 -07:00
Sean Mullan
8b8759de8d
8020637: Permissions.readObject doesn't enforce proper Class to PermissionCollection mappings
...
Reviewed-by: weijun
2019-04-09 08:56:15 -04:00
Claes Redestad
9a97b54211
8222144: BuiltinClassLoader should create the CodeSource for jrt URLs lazily
...
Reviewed-by: alanb
2019-04-09 11:40:01 +02:00
Mandy Chung
a5b9e0f7ba
8221530: Caller sensitive methods not handling caller = null when invoked by JNI code with no java frames on stack
...
Reviewed-by: alanb, dholmes, sundar
2019-04-06 21:16:40 +08:00
Xue-Lei Andrew Fan
8263b618ba
8221882: Use fiber-friendly java.util.concurrent.locks in JSSE
...
Reviewed-by: alanb, dfuchs
2019-04-05 11:28:23 -07:00
Brian Burkhalter
049c574933
8221597: A typo in the Java API doc for File.getUsableSpace()
...
Reviewed-by: lancea, darcy
2019-04-05 08:37:33 -07:00
Andrew Dinn
71164a973b
8221477: Inject os/cpu-specific constants into Unsafe from JVM
...
Initialize Unsafe os/cpu-specific constants using injection instead of native callouts
Reviewed-by: stuefe, coleenp, dholmes, plevart
2019-04-05 10:01:09 +01:00
Xue-Lei Andrew Fan
d812742d68
8163326: Update the default enabled cipher suites preference
...
Reviewed-by: mullan
2019-04-04 14:19:29 -07:00
Claes Redestad
f7fa05ca72
8221921: Implement size() / isEmpty() in immutable collections
...
Reviewed-by: smarks
2019-04-04 23:21:52 +02:00
Claes Redestad
15d989faa4
8221981: Simplify Map/List/Set.of() implementation
...
Reviewed-by: smarks
2019-04-04 23:21:24 +02:00
Claes Redestad
3233a6f944
8221980: Simplify Optional implementation
...
Reviewed-by: smarks, clanger
2019-04-04 23:19:26 +02:00
Weijun Wang
cf973e3db4
8219861: Add new keytool -showinfo -tls command for displaying TLS configuration information
...
Reviewed-by: mullan
2019-04-04 20:22:16 +08:00
Xue-Lei Andrew Fan
661b5f1534
8217610: TLSv1.3 fail with ClassException when EC keys are stored in PKCS11
...
Reviewed-by: valeriep
2019-04-03 16:23:22 -07:00
Claes Redestad
5c06e0a912
8221701: Archive constant BaseLocales
...
Reviewed-by: naoto
2019-04-03 17:06:35 +02:00
Brian Burkhalter
724120457a
8211936: Better String parsing
...
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: bpb, darcy
2019-01-22 09:45:30 -08:00
Xue-Lei Andrew Fan
28adfb6d0d
8218889: Improperly use of the Optional API
...
Reviewed-by: jnimeh, wetmore
2019-03-22 13:47:37 -07:00
Naoto Sato
dc3c9c8439
8220224: With CLDR provider, NumberFormat.format could not handle locale with number extension correctly
...
Reviewed-by: darcy
2019-03-22 09:31:36 -07:00
Brian Burkhalter
954c66afed
8078860: (spec) InputStream.read(byte[] b, int off, int len) claims to not affect element b[off]
...
Reviewed-by: lancea, darcy, rriggs
2019-03-22 08:18:26 -07:00
Alan Bateman
3a4d5db248
8221252: (sc) SocketChannel and its socket adaptor need to handle connection reset
...
Reviewed-by: bpb
2019-03-22 11:35:35 +00:00
Xue-Lei Andrew Fan
901e797c0c
8221270: Duplicated synchronized keywords in SSLSocketImpl
...
Reviewed-by: mullan
2019-03-21 13:32:08 -07:00
Brent Christian
bd4dd311fd
8211941: Enable checking/ignoring of non-conforming Class-Path entries
...
Reviewed-by: alanb, mchung
2019-03-21 11:58:00 -07:00
Jonathan Gibbons
2df0f4b4dd
8220249: fix headings in java.compiler
...
Reviewed-by: erikj, darcy
2019-03-20 15:35:26 -07:00
Chris Hegarty
42b8e78a7a
8153508: ContentHandler API contains link to private contentPathProp
...
Reviewed-by: dfuchs, vtewari
2019-03-20 08:33:33 +00:00
Chris Hegarty
5ee0711360
8220663: Incorrect handling of IPv6 addresses in Socket(Proxy.HTTP)
...
Reviewed-by: alanb, michaelm
2019-03-19 14:27:50 +00:00
Jamil Nimeh
de75770ce9
8218723: Use SunJCE Mac in SecretKeyFactory PBKDF2 implementation
...
Reviewed-by: apetcher
2019-03-18 15:26:59 -07:00
Chris Hegarty
8de73b3995
8220719: Allow other named NetPermissions to be used
...
Reviewed-by: mullan, alanb
2019-03-17 08:26:38 +00:00
Ivan Gerasimov
c07c8d3eea
8220684: Process.waitFor(long, TimeUnit) can return false for a process that exited within the timeout
...
Reviewed-by: prappo, dholmes, rriggs
2019-03-16 15:05:21 -07:00
Alan Bateman
8743be63c4
8220493: Prepare Socket/ServerSocket for alternative platform SocketImpl
...
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Reviewed-by: chegar
2019-03-16 19:44:12 +00:00
Alan Bateman
c306e3f059
8220738: (sc) Move ServerSocketChannelImpl remaining native method to Net
...
Reviewed-by: bpb
2019-03-16 12:31:31 +00:00
Brian Burkhalter
7211761cab
8219876: (bf) Improve IndexOutOfBoundsException messages in $Type$Buffer classes
...
Reviewed-by: alanb, rriggs
2019-03-15 16:24:07 -07:00
Chris Hegarty
d79c644852
8179549: Typo in network properties documentation
...
Reviewed-by: clanger, coffeys
2019-03-15 14:50:57 +00:00
Brian Burkhalter
e9cb99cbe4
8220614: (bf) Buffer absolute slice methods should use Objects.checkFromIndexSize()
...
Reviewed-by: alanb, igerasim, rriggs
2019-03-14 09:43:18 -07:00
Chris Hegarty
b34264403a
8220598: Malformed copyright year range in a few files in java.base
...
Reviewed-by: dfuchs, lancea, rriggs, weijun
2019-03-14 09:10:56 +00:00
Daniel Fuchs
5f13ffec66
8219197: ThreadGroup.enumerate() may return wrong value
...
ThreadGroup.enumerate(list,n,recurse) should never return a value that is less than n.
Reviewed-by: clanger, chegar, prappo
2019-03-13 18:43:16 +00:00
Brian Burkhalter
a54066705f
8219597: (bf) Heap buffer state changes could provoke unexpected exceptions
...
Reviewed-by: alanb, rriggs
2019-03-13 11:12:22 -07:00
Arthur Eubanks
8c5313aa79
8220585: Incorrect code in MulticastSocket sample code
...
Sample code shows that String.length() can be passed to a DatagramPacket along with String.getBytes(), but is incorrect for non-ASCII Strings.
Reviewed-by: martin, chegar
2019-03-13 09:12:38 -07:00
Xue-Lei Andrew Fan
42cb9bf51a
8160247: Mark deprecated javax.security.cert APIs with forRemoval=true
...
Reviewed-by: weijun
2019-03-13 07:14:50 -07:00
Roger Riggs
2f3fc244eb
8220237: ProcessBuilder API documentation typo
...
Reviewed-by: dfuchs
2019-03-12 12:48:03 -04:00
Chris Hegarty
0f97ac953b
8184315: Typo in java.net.JarURLConnection.getCertificates() method documentation
...
Reviewed-by: dfuchs
2019-03-12 09:22:40 +00:00
Joe Darcy
3a072e4e45
8220346: Refactor java.lang.Throwable to use Objects.requireNonNull
...
Reviewed-by: lancea, mchung, tvaleev, forax, martin, plevart
2019-03-11 11:23:09 -07:00
Rachna Goel
96d797d9d1
8220414: Correct copyright headers in Norm2AllModes.java and Normalizer2.java
...
Updated copyright headers
Reviewed-by: alanb
2019-03-11 17:34:23 +05:30
Nishit Jain
0b082fcc1d
8217254: CompactNumberFormat:: CompactNumberFormat() constructor does not comply with spec
...
8217721: CompactNumberFormat:: format() method spec for IAEx is not complaint
Reviewed-by: naoto
2019-03-11 14:22:23 +05:30
Anthony Scarpino
5250aaafdb
8220165: Encryption using GCM results in RuntimeException- input length out of bound
...
Reviewed-by: valeriep
2019-03-07 19:35:02 -08:00
Naoto Sato
473a26aebd
8218948: SimpleDateFormat :: format - Zone Names are not reflected correctly during run time
...
Reviewed-by: lancea, rgoel
2019-03-07 12:56:48 -08:00