Julia Boes
f8440c33d2
8225499: InetSocketAddress::toString not friendly to IPv6 literal addresses
...
Enclose IPv6 literal in brackets and adjust string format for unresolved addresses
Reviewed-by: dfuchs, chegar
2019-10-17 08:56:06 +01:00
Goetz Lindenmaier
d8c6516c92
8218628: Add detailed message to NullPointerException describing what is null
...
This is the implementation of JEP 358: Helpful NullPointerExceptions.
Reviewed-by: coleenp, clanger, rschmelter, rriggs, forax, mr
2019-10-14 11:36:17 +02:00
Ivan Gerasimov
463d6e9640
8231859: Extra dash after the exception name in @throws clause of javadoc
...
Reviewed-by: weijun
2019-10-16 18:47:11 -07:00
Joe Darcy
98c9f8bdc7
8232230: Suppress warnings on non-serializable non-transient instance fields in java.util.concurrent
...
Reviewed-by: martin
2019-10-16 16:55:52 -07:00
Ivan Gerasimov
31afddccae
8230407: SocketPermission and FilePermission action list allows leading comma
...
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: chegar
2019-10-16 14:32:17 -07:00
Henry Jen
9dd506f713
Merge
2019-10-15 21:33:54 +00:00
Naoto Sato
406c2a9b00
8212749: DecimalFormat.setGroupingSize(int) allows setting negative grouping size
...
8231984: Clarify semantics of DecimalFormat.getGroupingSize(0)
Reviewed-by: rriggs
2019-10-15 09:25:59 -07:00
Henry Jen
8d141f1048
Merge
2019-10-14 21:01:25 +00:00
Anton Kozlov
4b7bbaf5b0
8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call
...
Reviewed-by: mchung
2019-10-11 14:49:05 -07:00
Andrew Leonard
0dbfc97c05
8231717: Improve performance of charset decoding when charset is always compactable
...
Reviewed-by: rriggs, redestad, alanb
2019-10-10 10:28:55 +01:00
Anthony Scarpino
0e9916f25b
8228825: Enhance ECDSA operations
...
Reviewed-by: mullan
2019-10-04 13:44:11 -07:00
Matthias Baesken
7256d38458
8232045: cleanup AIX 5.3 workarounds from libnio/ch/Net.c
...
Reviewed-by: alanb, clanger, chegar
2019-10-09 09:57:33 +02:00
Joe Darcy
3c9b6d8554
8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes
...
Reviewed-by: rriggs, chegar
2019-10-09 10:17:50 -07:00
Joe Darcy
fbb4093562
8231262: Suppress warnings on non-serializable instance fields in security libs serializable classes
...
Reviewed-by: mullan, chegar
2019-10-09 09:57:41 -07:00
Daniel Fuchs
a690af3832
8231260: (dc) DatagramChannel::disconnect changes the port of the local address to 0 (lnx)
...
DatagramChannel::disconnect will attempt to rebind to the original port if the local port switches back to 0 after the association is disolved by the system.
Reviewed-by: alanb, chegar, fweimer
2019-10-09 17:38:58 +01:00
Severin Gehwolf
dcc9cc3fdd
8232003: (fs) Files.write can leak file descriptor in the exception case
...
Be sure to close the leaked OutputStream in all cases
Reviewed-by: alanb, bpb, clanger
2019-10-08 15:30:46 +02:00
Kiran Ravikumar
4b36fb50ed
8231770: Test java/util/zip/FlaterTest.java fails with -Xcheck:jni
...
Reviewed-by: alanb, coffeys, chegar
2019-10-09 10:14:03 +00:00
Patrick Concannon
dcceed10b6
8222829: DatagramSocket.setSoTimeout does not specify IAE when timeout is negative
...
Clarifies behaviour of setSoTimeout() method when given negative timeout value.
Reviewed-by: alanb, chegar, dfuchs
2019-10-08 15:03:20 +01:00
Patrick Concannon
ee87f2a7a4
8230946: Clarify security manager behaviour of a connected DatagramSocket and DatagramChannel
...
Update to API, to clarify that packets are dropped in the receive method of non-connected sockets if they fail the security manager checks
Reviewed-by: alanb, chegar, dfuchs
2019-10-08 14:56:46 +01:00
Alan Bateman
51e94d8dac
8231921: (se) SelectorImpl.register does not need to set the attachment when it is null
...
Reviewed-by: bpb
2019-10-08 10:58:36 +01:00
Claes Redestad
f8f7cdcbe3
8231355: Remove unused utility methods in libjava
...
Reviewed-by: dholmes, jrose, alanb
2019-10-08 10:24:22 +02:00
Stuart Marks
ba63c30a94
8231977: Discuss serializability of collections
...
Reviewed-by: darcy, plevart, chegar
2019-10-07 17:13:59 -07:00
Claes Redestad
fba19ffbb2
8230043: Lazily load libverify
...
8230140: Remove unused mutex and monitor declarations
Reviewed-by: hseigel, erikj, alanb, dholmes
2019-10-07 16:55:24 +02:00
Julia Boes
4dafa3033f
8231161: Wrong return type in code sample in Collector API documentation
...
Correct declaration of container from R to A and add compilation test
Reviewed-by: smarks, lancea
2019-10-03 18:59:56 +01:00
Brian Burkhalter
c1b844a225
8229022: BufferedReader performance can be improved by using StringBuilder
...
Reviewed-by: igerasim, vtewari, dfuchs
2019-10-02 07:50:06 -07:00
Alan Bateman
38bdacafbc
8231603: (se) Selector implementations do not need to use cancelledKeys
...
Reviewed-by: chegar, bpb
2019-10-02 09:16:18 +01:00
Julia Boes
82747fa960
8209178: Proxied HttpsURLConnection doesn't send BODY when retrying POST request
...
Preserve BODY in poster output stream before sending CONNECT request
Reviewed-by: dfuchs, vtewari
2019-09-26 12:35:51 +01:00
Jatin Bhateja
d3ca3a02ff
8226721: Missing intrinsics for Math.ceil, floor, rint
...
Reviewed-by: neliasso, vlivanov, ecaspole
2019-10-01 11:43:10 +02:00
Vladimir Kempik
67ad501e5b
8229872: (fs) Increase buffer size used with getmntent
...
Dynamically allocate memory for getmntent
Reviewed-by: alanb
2019-09-24 14:54:57 +03:00
Ivan Gerasimov
680fceb9ba
8230415: Avoid redundant permission checking in FilePermissionCollection and SocketPermissionCollection
...
Reviewed-by: mullan
2019-09-27 17:50:09 -07:00
Doug Lea
a9254cbcfa
8231032: ThreadMXBean locking tests fail after JSR 166 refresh
...
Reviewed-by: martin, mchung, dholmes
2019-09-27 12:20:14 -07:00
Roger Riggs
725031769f
8231314: java.time serialization warning cleanup
...
Reviewed-by: chegar, naoto, plevart
2019-09-26 11:10:19 -04:00
Brian Burkhalter
12178ec008
8231174: (fs) FileTime should have 100ns resolution (win)
...
Reviewed-by: alanb
2019-09-25 11:44:52 -07:00
Tianmin Shi
2b56811616
8231387: java.security.Provider.getService returns random result due to race condition with mutating methods in the same class
...
Synchronize access to legacyMap in Provider.getService.
Reviewed-by: valeriep
2019-09-25 08:29:03 -07:00
Naoto Sato
5fba45641e
8230531: API Doc for CharsetEncoder.maxBytesPerChar() should be clearer about BOMs
...
Reviewed-by: martin, alanb
2019-09-24 08:55:13 -07:00
Michael McMahon
aa5329e0d3
8231187: SelectorProvider.inheritedChannel() returns TCP socket channel for Unix domain socket
...
Reviewed-by: alanb, chegar
2019-09-24 16:19:11 +01:00
Julia Boes
d15a57b842
8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
...
Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: bchristi, lancea
2019-09-24 09:43:43 +01:00
Matthias Baesken
e2ebf7b822
8231171: remove remaining sun.java.launcher.pid references
...
Reviewed-by: alanb, dholmes
2019-09-20 10:28:48 +02:00
Joe Darcy
f3208bfcd0
8199424: consider removing ObjectInputStream and ObjectOutputStream native methods
...
Reviewed-by: bpb, rriggs, redestad
2019-09-20 09:32:45 -07:00
Julia Boes
b15b322cf3
8230648: Replace @exception tag with @throws in java.base
...
Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Claes Redestad
52f9024232
8230768: Arrays of SoftReferences in MethodTypeForm should not be @Stable
...
Reviewed-by: mchung
2019-09-19 23:38:50 +02:00
Brian Burkhalter
2a1a2b9ae1
8231149: (fs) Small verbiage errors in java.nio.file package documentation
...
Reviewed-by: lancea, alanb
2019-09-19 12:01:36 -07:00
Matthias Baesken
b9e177677c
8228482: fix xlc16/xlclang comparison of distinct pointer types and string literal conversion warnings
...
Reviewed-by: clanger, mdoerr
2019-07-23 16:52:38 +02:00
Sean Coffey
b59950bc49
8231124: Missing closedir call with JDK-8223490
...
Reviewed-by: naoto
2019-09-17 16:39:56 +00:00
Sean Coffey
788b2414c1
8223490: Optimize search algorithm for determining default time zone
...
Reviewed-by: naoto, rriggs
2019-09-17 11:07:07 +00:00
Doug Lea
eb1eadb69f
8225490: Miscellaneous changes imported from jsr166 CVS 2019-09
...
Reviewed-by: martin, alanb
2019-09-14 11:26:26 -07:00
Doug Lea
80fe274875
8229442: AQS and lock classes refresh
...
Reviewed-by: martin
2019-09-14 11:16:40 -07:00
Brian Burkhalter
c57ad7ffc0
8230085: (fs) FileStore::isReadOnly is always true on macOS Catalina
...
Reviewed-by: alanb
2019-09-13 16:03:31 -07:00
Ivan Gerasimov
5e7e0e7bbe
8230829: Matcher matches a surrogate pair that crosses border of the region
...
Reviewed-by: naoto
2019-09-12 11:07:35 -07:00
Matthias Baesken
af94e6e681
8230856: Java_java_net_NetworkInterface_getByName0 on unix misses ReleaseStringUTFChars in early return
...
Reviewed-by: dfuchs, stuefe, vtewari
2019-09-11 16:13:05 +02:00