148 Commits

Author SHA1 Message Date
Ivan Gerasimov
b9ecb2e95b 8194412: Adding 256 units of IsoFields.QUARTER_YEARS broken
Reviewed-by: scolebourne, rriggs
2018-01-29 10:48:13 -08:00
Mandy Chung
6de0123fd7 8191170: Clarify if java.class.path can be undefined
Reviewed-by: alanb, psandoz
2018-01-25 13:40:36 -08:00
Mandy Chung
f7a44a7d8a 8196127: Dead code in VersionProps.java.template
Reviewed-by: lancea, psandoz
2018-01-25 13:39:28 -08:00
Vyom Tewari
78de84bc1e 8194676: NullPointerException is thrown if ipaddress is not set
Reviewed-by: chegar, rriggs
2018-01-25 16:22:52 +05:30
Rachna Goel
551a0d104f 8146656: Wrong Months Array for DateFormatSymbols
Updated API doc of DateFormatSymbols class.

Reviewed-by: rriggs, naoto
2018-01-24 14:07:11 +05:30
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Brent Christian
f61a078bd2 8194879: Runtime.Version parses string which does not conform to spec without throwing IAE
Reviewed-by: alanb, iris, rriggs
2018-01-17 16:15:15 -08:00
Mandy Chung
869f9e2ed0 8194554: filterArguments runs multiple filters in the wrong order
Reviewed-by: psandoz, jrose
2018-01-17 15:17:50 -08:00
Doug Lea
d771fc3a6b 8193300: Miscellaneous changes imported from jsr166 CVS 2018-01
Reviewed-by: martin
2018-01-16 18:28:39 -08:00
Doug Lea
c19d18871c 8191483: AbstractQueuedSynchronizer cancel/cancel race
Reviewed-by: martin
2018-01-16 18:24:32 -08:00
Lana Steuck
aad1a3592c Merge 2018-01-16 22:24:20 +00:00
Xueming Shen
b69a95d78d 8194667: Regex: Serialization doesn't work with match flags
Reviewed-by: rriggs
2018-01-12 14:05:42 -08:00
Brian Burkhalter
49beab63c8 4358774: Add null InputStream and OutputStream
Reviewed-by: alanb, prappo, reinhapa, rriggs
2018-01-12 11:06:24 -08:00
Martin Buchholz
7838184968 8145371: ClassCastException thrown in LambdaFormEditor.getInCache
Read field into local to avoid customization race

Reviewed-by: vlivanov, jrose, psandoz
2018-01-03 13:17:35 -08:00
Brian Burkhalter
7be1368ad8 8194649: Minor cleanup of parameter checking in ByteArrayOutputStream and ObjectInputStream
Reviewed-by: rriggs
2018-01-05 12:46:22 -08:00
Brian Burkhalter
1924909d78 8193861: Typos in API documentation of File.toPath() and InetSocketAddress.getAddress()
Reviewed-by: chegar, rriggs, lancea
2018-01-05 12:45:52 -08:00
Christoph Dreis
c83a45ddf9 8194644: Typo in ModuleDescriptor.read javadoc
Reviewed-by: alanb
2018-01-04 15:50:51 +00:00
Lana Steuck
c8c8cd7238 Merge 2018-01-04 04:22:28 +00:00
Brian Burkhalter
1209c4bcb3 8193832: Performance of InputStream.readAllBytes() could be improved
Read into a list of fixed-size buffers which are gathered at the end

Reviewed-by: alanb, chegar, plevart, jrose, psandoz
2017-12-22 14:00:03 -08:00
Mandy Chung
2c062802de 8193767: Improve javadoc in ResourceBundle working with modules
Reviewed-by: alanb, naoto
2017-12-21 15:18:49 -08:00
Vladimir Ivanov
1b558514ff 8188145: MethodHandle resolution should follow JVMS sequence of lookup by name & type before type descriptor resolution
Reviewed-by: kvn, psandoz
2018-01-12 01:52:06 +03:00
Paul Sandoz
e1e9023545 8075939: Stream.flatMap() causes breaking of short-circuiting of terminal operations
Reviewed-by: forax, smarks
2017-12-21 13:52:20 -08:00
Abhijit Saha
22b4fae438 Merge 2018-01-17 07:09:03 +00:00
Abhijit Saha
f96c816c07 Merge 2018-01-12 15:05:35 -08:00
Paul Sandoz
e6680338c5 8193856: takeWhile produces incorrect result with elements produced by flatMap
Reviewed-by: smarks
2017-12-20 11:40:45 -08:00
Mandy Chung
8e4276d628 8193767: Improve javadoc in ResourceBundle working with modules
Reviewed-by: alanb, naoto
2017-12-21 15:18:49 -08:00
Mandy Chung
64cef020e7 8193780: (ref) Remove the undocumented "jdk.lang.ref.disableClearBeforeEnqueue" system property
Reviewed-by: alanb
2017-12-21 15:04:45 -08:00
Paul Sandoz
fb9db6b02d 8193085: Vectorize the nio Buffer equals and compareTo implementations
Reviewed-by: alanb
2017-12-20 09:14:52 -08:00
Brian Burkhalter
c4f1bb0019 8193842: Replace Files.copy(InputStream,OutputStream) with InputStream.transferTo(OutputStream)
Reviewed-by: clanger, alanb
2017-12-20 08:05:04 -08:00
Alan Bateman
7b054f30b8 8193758: Update copyright headers of files in src tree that are missing Classpath exception
Reviewed-by: mchung, mr, jjg, iris, prr
2017-12-19 10:03:36 +00:00
Claes Redestad
a9a271179d 8193507: [REDO] Startup regression due to JDK-8185582
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Reviewed-by: alanb, rriggs
2017-12-14 16:05:08 +01:00
Xueming Shen
aeb50d6935 8193490: java/util/zip/ZipFile/ClearStaleZipFileInputStreams.java, FinalizeZipFile.java, TestCleaner.java, Collectible.java failed because cleaner can't finish
Reviewed-by: darcy
2017-12-13 21:41:50 -08:00
Stuart Marks
feffd15dc2 8140281: add no-arg Optional.orElseThrow() as preferred alternative to get()
Reviewed-by: alanb, bpb, forax, darcy
2017-12-13 18:47:20 -08:00
Mark Reinhold
0214135fde 8192833: JEP 322: Time-Based Release Versioning
Reviewed-by: erikj, ihse, iris, mchung, psandoz, tbell
2017-12-13 17:28:24 -08:00
Claes Redestad
1b432b5066 8193471: Startup regression due to JDK-8185582
Reviewed-by: rriggs, psandoz
2017-12-13 21:25:49 +01:00
Xueming Shen
4f0ea9242f 8184947: ZipCoder performance improvements
Reviewed-by: martin, redestad
2017-12-13 07:51:57 -08:00
Andrej Golovnin
1ae8f54835 8193454: ModuleDescriptor.{Requires,Exports,Open} toString should use toLowerCase(Local.ROOT)
Reviewed-by: alanb
2017-12-13 15:32:36 +00:00
Martin Buchholz
3f0f9ef30c 8193034: Optimize URL.toExternalForm
Reviewed-by: chegar, alanb, clanger
2017-12-06 15:51:06 -08:00
Nishit Jain
7362d58294 8190278: ClassCastException is thrown by java.util.Scanner when a NumberFormatProvider is used
Reviewed-by: naoto, rriggs
2017-12-13 12:43:38 +05:30
Joe Wang
4f080a83af 8183743: Umbrella: add overloads that take a Charset parameter
Reviewed-by: alanb, rriggs
2017-12-12 11:10:12 -08:00
Naoto Sato
f065141ddc 8176841: Additional Unicode Language-Tag Extensions
8189134: New system properties for the default Locale extensions
8190918: Retrieve the region specific data regardless of language in locale
8191349: Add a new method in j.t.f.DateTimeFormatter to reflect Unicode extensions

Reviewed-by: scolebourne, lancea, rriggs, rgoel, nishjain
2017-12-12 10:21:58 -08:00
Paul Sandoz
3246c46f41 8187254: MethodType allows unvalidated parameter types
Reviewed-by: mchung, jrose
2017-12-12 09:33:37 -08:00
Paul Sandoz
72e7a31529 8171826: Comparator.reverseOrder(c) mishandles singleton comparators
Reviewed-by: rriggs
2017-12-12 09:33:35 -08:00
Chris Hegarty
2f125c1bd5 8185027: Typo in java.net.URLClassLoader.findResources(String) method documentation
Reviewed-by: alanb
2017-12-12 13:08:22 +00:00
Peter Levart
238ca2e781 8191216: SimpleTimeZone.clone() has a data race on cache fields
Reviewed-by: alanb, naoto
2017-12-12 00:30:57 +01:00
Xueming Shen
3b0e59e8d8 8185582: Update Zip implementation to use Cleaner, not finalizers
Reviewed-by: plevart, rriggs, mchung
2017-12-11 11:45:02 -08:00
Doug Lea
71a866fe0c 8192944: Miscellaneous changes imported from jsr166 CVS 2017-12-08
Reviewed-by: martin, psandoz, chegar
2017-12-08 15:30:53 -08:00
Doug Lea
00d1900dc9 8192943: Optimize atomic accumulators using VarHandle getAndSet
Reviewed-by: martin, psandoz, chegar
2017-12-08 15:26:56 -08:00
Doug Lea
0b3b384a27 8193174: SubmissionPublisher invokes the Subscriber's onComplete before all of its submitted items have been published
Reviewed-by: martin, psandoz, chegar
2017-12-08 15:22:58 -08:00
Martin Buchholz
ed69a7db9c 8192935: Fix EnumSet's SerializationProxy javadoc
Reviewed-by: smarks, rriggs
2017-12-03 13:06:51 -08:00