Patrick Concannon
3c1310a60a
8231570: (dc) Clarify implicit bind behavior of DatagramChannel
...
Update to DatagramChannel spec to make it clear that SecurityException can be thrown in connect send and receive methods
Reviewed-by: alanb, chegar, dfuchs
2019-10-25 12:05:56 +01:00
Alan Bateman
e69b4d261d
8231602: Deprecate Thread.suspend/resume for removal
...
Reviewed-by: mchung, dholmes, chegar
2019-10-24 11:07:31 +01:00
Claes Redestad
574263a884
8232613: Move Object.registerNatives into HotSpot
...
Reviewed-by: dholmes, adinn, coleenp, lfoltan, mchung
2019-10-24 09:57:29 +02:00
Mandy Chung
3f94fb08c7
8232617: Update the outdated code comments in java.lang.System class
...
Reviewed-by: dholmes, bchristi
2019-10-22 09:20:21 -07:00
Jan Lahoda
a1894385b3
8226585: Improve javac messages for using a preview API
...
Avoiding deprecation for removal for APIs associated with preview features, the features are marked with an annotation, and errors/warnings are produced for them based on the annotation.
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: erikj, mcimadamore, alanb
2019-10-21 15:38:26 +02:00
Patrick Concannon
c497b2b066
8231719: Correct contradictions in timeout range descriptions
...
Clarified verbiage in method descriptions.
Reviewed-by: chegar, dfuchs
2019-10-16 11:12:47 +01:00
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
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
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
Stuart Marks
ba63c30a94
8231977: Discuss serializability of collections
...
Reviewed-by: darcy, plevart, chegar
2019-10-07 17:13:59 -07: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
Jatin Bhateja
d3ca3a02ff
8226721: Missing intrinsics for Math.ceil, floor, rint
...
Reviewed-by: neliasso, vlivanov, ecaspole
2019-10-01 11:43:10 +02: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
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
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
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
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
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
Brian Burkhalter
4285853d91
8230342: LineNumberReader.getLineNumber() returns inconsistent results after EOF
...
Reviewed-by: rriggs, dfuchs
2019-09-11 12:32:01 -07:00
Naoto Sato
ee9bd9bf04
8230136: DateTimeFormatterBuilder.FractionPrinterParser#parse fails to verify minWidth
...
Reviewed-by: joehw, scolebourne, rriggs
2019-09-11 08:50:03 -07:00
Mandy Chung
5d397eea9f
8229785: MethodType::fromMethodDescriptorString should require security permission if loader is null
...
Reviewed-by: vromero
2019-09-10 10:35:52 -07:00
Brent Christian
a4613d4a8f
8212117: Class.forName may return a reference to a loaded but not linked Class
...
Reviewed-by: dholmes, mchung
2019-09-09 11:04:04 -07:00
Joe Darcy
10f1f10f2e
8230723: Remove default constructors from java.lang and java.io
...
Reviewed-by: bpb, rriggs
2019-09-09 10:13:42 -07:00
Jaikiran Pai
c84e19f3ca
8177389: Hyphen "-" should be removed in URL class documentation
...
Javadoc of java.net.URL constructor updated to remove an unnecessary hyphen
Reviewed-by: dfuchs
2019-08-24 09:31:15 +05:30
Claes Redestad
c788d9841c
8230662: Remove dead code from MethodTypeForm
...
Reviewed-by: vlivanov, mchung
2019-09-07 15:44:04 +02:00
Daniel Fuchs
5399449a43
8230694: http.keepAlive system property is inconsistently/incorrectly documented
...
Trivially fixed the net-properties.html file
Reviewed-by: alanb
2019-09-06 14:04:44 +01:00
Naoto Sato
2aac0e925d
8229831: Upgrade Character.isUnicodeIdentifierStart/Part() methods to the latest standard
...
Reviewed-by: rriggs
2019-09-05 17:38:54 -07:00