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
Brian Burkhalter
4d70cdac4f
8187898: PrintStream should override FilterOutputStream#write(byte[]) with a method that has no throws clause
...
Reviewed-by: alanb, rriggs, lancea, darcy
2019-09-05 16:26:53 -07:00
Joe Darcy
cebd13dbaa
8230681: Add @since tag to java.io.Serial
...
Reviewed-by: lancea, bpb
2019-09-05 15:55:57 -07:00
Jaikiran Pai
6fa4babbb2
8230310: SocksSocketImpl should handle the IllegalArgumentException thrown by ProxySelector.select usage
...
Catch the IAE thrown by ProxySelector.select and wrap it into a IOException
Reviewed-by: dfuchs
2019-08-28 20:05:43 +05:30
Joe Darcy
9d764ee48e
8229997: Apply java.io.Serial annotations in java.base
...
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Joe Darcy
6d4ef5aaf3
8229999: Apply java.io.Serial annotations to security types in java.base
...
Reviewed-by: rriggs, mullan
2019-08-29 10:52:21 -07:00
Ivan Gerasimov
d607548f20
8230338: Accurate error message about bad Unicode block name
...
Reviewed-by: rriggs
2019-08-29 07:39:06 -07:00
Claes Redestad
b4c63048bb
8230302: GenerateJLIClassesPlugin can generate invalid DirectMethodHandle methods
...
Reviewed-by: mchung
2019-08-29 15:59:00 +02:00
Joe Darcy
9b0cfaf53e
8230074: Improve specification for {Math, StrictMath}.negateExact
...
Reviewed-by: bpb
2019-08-28 22:30:26 -07:00