118 Commits

Author SHA1 Message Date
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
e6680338c5 8193856: takeWhile produces incorrect result with elements produced by flatMap
Reviewed-by: smarks
2017-12-20 11:40:45 -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
Roger Riggs
f29e21abb1 8080225: FileInput/OutputStream/FileChannel cleanup should be improved
Reviewed-by: mchung, plevart, bpb
2017-12-01 16:40:08 -05:00
Andrej Golovnin
93aa3ae4d7 8193256: Configuration and ModuleLayer findModule cleanup
Reviewed-by: redestad, alanb
2017-12-08 14:28:51 +00:00
Stuart Marks
d57db3b793 8177681: Remove methods Runtime.getLocalized{Input,Output}Stream
Reviewed-by: rriggs, bpb, mr
2017-12-07 14:23:52 -08:00
Ivan Gerasimov
77b4045e0f 8193156: Need to backout fixes for JDK-8058547, JDK-8055753, JDK-8085903
Reviewed-by: mullan
2017-12-07 10:18:22 -08:00
Mandy Chung
4bff43558f 8193159: Reduce the number of classes loaded due to NativeLibrary
Reviewed-by: alanb, redestad, martin
2017-12-07 09:22:35 -08:00
Patrick Reinhart
5eafe731b0 8191706: Add Reader::transferTo(Writer)
Reviewed-by: alanb, bpb, briangoetz
2017-12-06 14:39:15 -08:00
Sean Coffey
0c7be1d9e7 8185855: Debug exception stacks should be clearer
Reviewed-by: mullan, ascarpino
2017-12-06 14:33:33 +00:00
Alan Bateman
d26e4ff9b5 8186736: Spec clarifications for IllegalArgumentException throwing - ModuleLayer.defineX methods
Reviewed-by: mchung
2017-12-06 08:33:04 +00:00
Alan Bateman
d960d2031c 8192973: Adding "Module Resolution" to javadoc search index
Reviewed-by: mchung, jjg
2017-12-06 08:28:46 +00:00
Nishit Jain
fa64310889 8187551: MessageFormat.setFormat(int, Format) AIOOBE not thrown when documented
Reviewed-by: naoto, rriggs
2017-12-06 11:21:04 +05:30
Paul Sandoz
ed7a7fb89f 8015667: Stream.toArray(IntFunction) ArrayStoreException should refer to component type of array
Reviewed-by: smarks
2017-12-05 15:31:50 -08:00
Claes Redestad
c6aa806643 8193064: JarFile::getEntry0 method reference use cause for startup regression
Reviewed-by: sherman, mchung
2017-12-05 22:26:17 +01:00
Brent Christian
1a819fcd7a 8187222: ClassLoader.getSystemClassLoader not clear if recursive initialization leads to ISE or unspecified error
Reviewed-by: alanb, mchung
2017-12-05 09:44:32 -08:00
Claes Redestad
7759531e5c 8176188: jdk/internal/misc/JavaLangAccess/NewUnsafeString.java failing since 9-b93
Reviewed-by: psandoz, sherman
2017-12-05 14:25:16 +01:00
Stuart Marks
f4db9575d1 8177290: add copy factory methods for unmodifiable List, Set, Map
8184690: add Collectors for collecting into unmodifiable List, Set, and Map

Reviewed-by: alanb, briangoetz, dholmes, jrose, rriggs, scolebourne
2017-12-04 11:50:04 -08:00
Christoph Langer
3a458b1aa1 8192961: Remove some double semicolons
Reviewed-by: redestad
2017-12-04 10:13:58 +01:00
Doug Lea
850b92fa04 8187947: A race condition in SubmissionPublisher
Reviewed-by: martin, psandoz
2017-12-02 10:08:55 -08:00
Doug Lea
eac77274e8 8191937: Lost interrupt in AbstractQueuedSynchronizer when tryAcquire methods throw
Reviewed-by: martin, psandoz
2017-12-02 10:03:41 -08:00
Paul Sandoz
3e26f1114d 8186961: Class.getFields() does not return fields of previously visited super interfaces/classes
Reviewed-by: mchung, redestad
2017-12-01 17:06:09 -08:00
Stuart Marks
6ad8b12131 8160406: Collection.toArray() spec should be explicit about returning precisely an Object[]
Reviewed-by: psandoz, martin, redestad
2017-11-30 14:49:36 -08:00
Sean Mullan
4da03ba907 8186535: Remove deprecated pre-1.2 SecurityManager methods and fields
Reviewed-by: alanb, coleenp, hseigel, mchung
2017-11-30 07:54:28 -05:00
Nishit Jain
5102cb9120 6354947: [Fmt-*] Clarify DecimalFormat description of FieldPosition use
Reviewed-by: naoto, rriggs
2017-11-30 13:31:30 +05:30
Mandy Chung
44e4089789 8191942: Replace jdeps use of jdk.internal.util.jar.VersionedStream with new public API
Reviewed-by: alanb, erikj
2017-11-29 20:42:18 -08:00
Xueming Shen
97cddabb17 8189611: JarFile versioned stream and real name support
Reviewed-by: psandoz, alanb, mchung, martin
2017-11-29 15:01:16 -08:00
Paul Sandoz
012e103e91 8187237: Need to define the behaviour for 0 and 1 argument method type in StringConcatFactory.makeConcat
8186737: Lookup argument for StringConcatFactory.makeConcat & makeConcatWithConstants cannot have privileges less than PRIVATE

Reviewed-by: mchung
2017-11-29 12:39:59 -08:00
Paul Sandoz
e0fe688373 8181175: Stream.concat behaves like terminal operation
Reviewed-by: smarks, briangoetz, dfuchs
2017-11-29 10:35:50 -08:00
Valerie Peng
4c7e794ad9 8182484: Remove 1024-bit default requirement from javadoc of java.security.interfaces.DSAKeyPairGenerator
Updated javadoc to remove the text of using 1024 as the default key size

Reviewed-by: mullan
2017-11-29 00:43:59 +00:00