1242 Commits

Author SHA1 Message Date
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
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
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
Claes Redestad
5c06e0a912 8221701: Archive constant BaseLocales
Reviewed-by: naoto
2019-04-03 17:06:35 +02:00
Sean Mullan
44b9ab02fe 8216381: More limited privilege usage
Reviewed-by: ahgross, coffeys, rhalade
2019-02-07 08:47:10 -05:00
Stuart Marks
12efd2fa4f 8213432: Better copies of CopiesList
Reviewed-by: rriggs, skoivu, ahgross, robm, rhalade, jeff
2019-01-23 14:45:54 -08: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
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
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
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
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
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
Aleksei Efimov
d6304e88e6 8223892: Improved handling of jar files
Reviewed-by: dfuchs, chegar, michaelm, rhalade, ahgross
2019-06-25 00:07:47 +01:00
Ivan Gerasimov
844e811d56 8222684: Better support for patterns
8223163: Better pattern recognition

Reviewed-by: ahgross, bchristi, jeff, rhalade, rriggs, smarks
2019-05-22 19:41:59 -07:00
Aleksei Efimov
12bf1b15ab 8213429: Windows file handling redux
Reviewed-by: alanb, dfuchs, weijun, bpb, rhalade, ahgross
2019-05-20 15:57:16 +01:00
Weijun Wang
9eb755e85e 8209901: Canonical file handling
Reviewed-by: mullan, alanb, ahgross
2019-04-22 13:01:57 +08:00
Michael McMahon
e4553cb2fa 8217997: Better socket support
Reviewed-by: alanb, ahgross, chegar, igerasim
2019-03-25 17:15:27 +00: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
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
Ivan Gerasimov
0052dff370 8218228: The constructor StringBuffer(CharSequence) violates spec for negatively sized argument
Reviewed-by: rriggs, darcy
2019-03-01 12:47:30 -08:00
Xue-Lei Andrew Fan
25f0d60a58 8215430: Remove the internal package com.sun.net.ssl
Reviewed-by: chegar, mullan, wetmore
2019-03-01 08:35:14 -08:00
Naoto Sato
c12d6ac1a7 8219890: Calendar.getDisplayName() returns empty string for new Japanese Era on some locales
Reviewed-by: lancea
2019-02-28 14:03:04 -08:00
Brian Burkhalter
fad1f059b0 5071718: (bf) Add ByteBuffer.slice(int offset, int length)
Reviewed-by: alanb, bchristi, darcy, rriggs
2019-02-28 12:05:59 -08:00
Joe Darcy
fbc614712d 8218726: Minor Throwable.printStackTrace() typos
Reviewed-by: bpb
2019-02-27 12:19:29 -08:00
Philipp Kunz
24af91dc02 8219548: Better Null paramenter checking in ToolProvider
Reviewed-by: lancea, alanb, jjg
2019-02-26 13:14:26 -05:00
Sean Mullan
677aaed765 8159525: Add @FunctionalInterface annotation to PrivilegedAction and PrivilegedExceptionAction
Reviewed-by: clanger
2019-02-25 08:25:23 -05:00
Vicente Romero
4d368850e1 8219480: j.l.c.ClassDesc::arrayType(int rank) throws IllegalArgumentException if rank = 0
Reviewed-by: mchung, briangoetz
2019-02-23 19:41:53 -05:00
Brian Burkhalter
24c70fcf88 8048192: (bf) Out of direct buffer memory message should include the limits
Reviewed-by: alanb, rriggs
2019-02-22 10:13:34 -08:00
Brian Burkhalter
b24f8ba2ec 8011135: (bf) CharBuffer.put(String) is slow because of String.charAt() call for each char
Reviewed-by: alanb, redestad
2019-02-22 10:13:33 -08:00
Brian Burkhalter
315b7d0399 5029431: (bf) Add absolute bulk put and get methods
Reviewed-by: alanb, darcy, chegar, rriggs
2019-02-20 10:57:22 -08:00
Brian Burkhalter
47ccdad735 8065262: (bf spec) CharBuffer.chars() should make it clearer that the sequence starts from the buffer position
Reviewed-by: alanb, darcy, rriggs
2019-02-19 13:05:16 -08:00
Doug Lea
ff97b60fde 8215249: Miscellaneous changes imported from jsr166 CVS 2019-02
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Doug Lea
bb6d423ab8 8215363: needless signals in ForkJoinPool
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Doug Lea
a7ab4d7bd3 8215359: InnocuousForkJoinWorkerThread.setContextClassLoader needlessly throws
Reviewed-by: martin, chegar, dholmes, reinhapa, alanb
2019-02-15 11:18:01 -08:00
Doug Lea
f0807ebc18 8210280: Unnecessary reallocation when invoking HashMap.putAll()
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, mvala, igerasim, chegar, rriggs
2019-02-08 13:39:22 -08:00
Nishit Jain
13a52f3a17 8217969: Base64.Decoder.decode methods do not need to throw OOME due to integer overflow
8218265: java/util/Base64/TestEncodingDecodingLength.java failing

Reviewed-by: rriggs, naoto
2019-02-06 13:57:19 +05:30
Ivan Gerasimov
076d2267b6 8218227: StringBuilder/StringBuffer constructor throws confusing NegativeArraySizeException
Reviewed-by: rriggs
2019-02-05 17:05:40 -08:00