1147 Commits

Author SHA1 Message Date
Nadeesh TV
8f9235fc56 8145633: Adjacent value parsing not supported for Localized Patterns
Enhance the localized weekfields to take part in adjacent value parsing

Reviewed-by: rriggs, scolebourne
2016-12-21 18:45:34 +00:00
Bhanu Prakash Gopularam
4879be16e2 8160036: Java API doc for method minusMonths in LocalDateTime class needs correction
Java API doc needs correction

Reviewed-by: rriggs, scolebourne
2016-12-21 08:12:49 +00:00
Adam Petcher
85d15e6128 8170876: NPE in JCE engine classes with java.security.debug=provider
Reviewed-by: mullan
2016-12-20 17:13:34 -05:00
Brian Burkhalter
2cae845615 8148023: File.createTempFile is not adhering to the contract regarding file name lengths
Truncate the prefix, suffix, random characters per the specification

Reviewed-by: rriggs
2016-12-20 11:46:09 -08:00
Claes Redestad
f26cc2ffd9 8171400: Move checking of duplicate packages in the boot layer to link time
Reviewed-by: alanb
2016-12-19 21:38:46 +01:00
Naoto Sato
004901e102 8171189: Deprecate ResourceBundleControlProvider for removal
Reviewed-by: mchung
2016-12-19 09:56:11 -08:00
Joe Darcy
be91309965 8139688: Port fdlibm exp to Java
Reviewed-by: bpb, nadezhin
2016-12-16 21:43:29 -08:00
Alan Bateman
8c79e61d46 Merge 2016-12-16 08:17:45 +00:00
Alan Bateman
1e82db676a 8170987: Module system implementation refresh (12/2016)
8170859: Run time and tool support for ModuleResolution

Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: redestad, mchung, alanb
2016-12-16 06:19:16 +00:00
Masayoshi Okutsu
b140a35684 8054214: JapaneseEra.getDisplayName doesn't return names if it's an additional era
Reviewed-by: rriggs, naoto
2016-12-15 13:08:01 +09:00
Adam Petcher
ef12502b69 8165751: NPE hit with java.security.debug=provider
Reviewed-by: mullan, weijun
2016-12-14 10:22:02 -05:00
Christoph Langer
f6829cd1ed 8164057: Fix @since for java.net.Inet[46]Address
Reviewed-by: chegar
2016-12-12 15:33:46 +01:00
Claes Redestad
f39eef3ab6 8170595: Optimize Class.isAnonymousClass, isLocalClass, and isMemberClass
Co-authored-by: Christoph Dreis <christoph.dreis@freenet.de>
Reviewed-by: mchung, darcy
2016-12-11 12:20:45 +01:00
Mandy Chung
37e807c698 8170772: ResourceBundle improper caching causes tools/javadoc tests intermittently
Reviewed-by: dfuchs, naoto
2016-12-09 16:38:34 -08:00
Weijun Wang
3c750bc54f 8168979: @implNote for invalid FilePermission
Reviewed-by: xuelei
2016-12-14 10:40:59 +08:00
Stuart Marks
292fe71e60 8170943: Collectors.partitioningBy should specify that false and true entries are always present
Reviewed-by: psandoz
2016-12-13 17:45:37 -08:00
Brent Christian
96fc05b672 8169389: Use a bitmap to control StackTraceElement::toString format and save footprint
Reviewed-by: dfuchs, mchung
2016-12-13 12:35:59 -08:00
Roger Riggs
1bcb7f93c0 8170291: Unpredictable results of j.i.ObjectInputFilter::createFilter
Reviewed-by: dfuchs
2016-12-07 15:32:31 -05:00
Xueming Shen
d08eb8c2a9 8170831: ZipFile implementation no longer caches the last accessed entry/pos
Reviewed-by: psandoz
2016-12-07 11:53:26 -08:00
Martin Buchholz
502274b2c1 8170560: Improve code samples in Collectors javadoc
Reviewed-by: psandoz
2016-11-30 19:40:36 -08:00
Chris Hegarty
5c2b3026c2 8169653: Restore ObjectInputStream::resolveClass call stack default search order
Reviewed-by: dfuchs, mchung
2016-12-07 09:32:32 +00:00
Rachna Goel
794ed77e32 8071929: Locale.getISOCountries() has inconsistent behaviour for "AN", "BU" and "CS" country codes
Reviewed-by: naoto
2016-12-07 11:35:12 +05:30
Stuart Marks
9877170d02 8166446: SingletonIterator.forEachRemaining doesn't advance before calling action
Reviewed-by: martin
2016-12-06 17:26:43 -08:00
Paul Sandoz
36779a0df3 8170733: HashMap.HashIterator.remove method does not use cached value for the hash code
Reviewed-by: martin, dl, shade
2016-12-05 13:00:32 -08:00
Rachna Goel
0c0db99a87 8075577: java.time does not support HOST provider
Reviewed-by: okutsu, rriggs
2016-12-05 12:53:53 +05:30
Paul Sandoz
c7da82e9c0 8166914: URLClassLoader spec needs to mention that it's MR-aware
Reviewed-by: mchung, alanb
2016-12-02 10:05:53 -08:00
Daniel Fuchs
31337809b0 8169495: Add a method to set an Authenticator on a HttpURLConnection
New public method java.net.HttpURLConnection::setAuthenticator allows to specify an authenticator to use with a given connection.

Reviewed-by: chegar
2016-12-02 13:18:50 +00:00
Paul Sandoz
ca77f42179 8170155: StringBuffer and StringBuilder stream methods are not late-binding
Reviewed-by: sherman
2016-12-01 17:52:59 -08:00
Claes Redestad
f7751b87cd 8170602: Startup regression due to introduction of lambda in java.io.FilePermissionCollection
Reviewed-by: rriggs, alanb
2016-12-01 19:03:11 +01:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Paul Sandoz
7e58564540 8168745: Iterator.forEachRemaining vs. Iterator.remove
Reviewed-by: martin, smarks
2016-11-30 17:15:58 -08:00
Shilpi Rastogi
3e6e13dece 8133719: java.lang.InternalError in java.lang.invoke.MethodHandleImpl$BindCaller.bindCaller
Reviewed-by: psandoz
2016-11-29 01:06:10 -08:00
Weijun Wang
d036a1e276 8170408: LogGeneratedClassesTest.java fails with recent changes
Reviewed-by: dfuchs
2016-11-30 08:02:39 +08:00
Roger Riggs
40644c5ab9 8169527: Typo in getCalendarType() method of Chronology class
Reviewed-by: bpb
2016-11-29 13:58:00 -05:00
Doug Lea
cee580a37d 8166646: Miscellaneous changes imported from jsr166 CVS 2016-10
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:47:23 -08:00
Doug Lea
3f4bdaf9bd 8169272: Clarify Semaphore.drainPermits behavior when current permits are negative
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:43:39 -08:00
Doug Lea
58623faf53 8166507: ConcurrentSkipListSet.clear() can leave the Set in an invalid state
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:39:54 -08:00
Doug Lea
3d0d86185e 8143577: optimize ArrayList.removeIf
8169679: ArrayList.subList().iterator().forEachRemaining() off-by-one-error
8167202: ArrayDeque improvements
8164793: new ArrayDeque(2**N) allocates backing array of size 2**(N+1)
8169739: LinkedBlockingDeque spliterator needs to support node self-linking
8169738: CopyOnWriteArrayList subList needs more synchronization

Reviewed-by: martin, smarks, psandoz, forax
2016-11-28 23:36:11 -08:00
Weijun Wang
22ba1d5ebb 8170364: FilePermission path modified during merge
Reviewed-by: alanb
2016-11-28 22:32:17 +08:00
Joe Darcy
fc2f422623 8169479: java.lang.reflect.Constructor class has wrong api documentation
Reviewed-by: bpb, psandoz
2016-11-23 11:05:10 -08:00
Brent Christian
20c0c1d9d0 8136831: Undefined null behavior in ClassLoader.getResourceXXXX()
Reviewed-by: alanb, mchung, psandoz
2016-11-23 10:41:25 -08:00
Paul Sandoz
f5f1fcb803 8132964: Spliterator documentation on Priority(Blocking)Queue
Reviewed-by: martin, dl, chegar
2016-11-23 10:35:44 -08:00
Paul Sandoz
11b92f7ddb 8169808: Stream returning methods should specify if they are late binding
Reviewed-by: martin
2016-11-23 10:35:43 -08:00
Brent Christian
36ffe056e1 8169435: ClassLoader.isParallelCapable is final and conflicting method may get VerifyError
Reviewed-by: acorn, dholmes, mchung
2016-11-23 10:34:10 -08:00
Roger Riggs
305d776581 8169645: ObjectInputFilter Config spec is ambiguous regarding overriding the filter via System properties
Reviewed-by: bpb
2016-11-23 11:47:29 -05:00
Jesper Wilhelmsson
5140309cac Merge 2016-11-09 13:37:19 +01:00
Bhanu Prakash Gopularam
86bd9c2fd3 8066291: Return unmodifiable set of zone IDs to optimize ZoneIdPrinterParser
Cache the available zones to speed up parsing

Reviewed-by: rriggs, scolebourne
2016-11-21 06:04:25 +00:00
Claes Redestad
709d9ee9d0 8169993: Class::desiredAssertionStatus should call getClassLoader0
Reviewed-by: psandoz
2016-11-19 12:22:35 +01:00
Claes Redestad
09591861d0 8169880: Remove the sun.reflect.noCaches option
Reviewed-by: shade, psandoz, mchung
2016-11-17 19:38:14 +01:00