1168 Commits

Author SHA1 Message Date
Michael McMahon
c89c526762 8163449: Allow per protocol setting for URLConnection defaultUseCaches
Reviewed-by: chegar, dfuchs
2017-01-12 18:02:48 +00:00
Claes Redestad
d7ca564a58 8172720: Collections.SingletonList::hashCode not spec-compliant
Reviewed-by: chegar
2017-01-12 17:07:49 +01:00
Claes Redestad
a004b7fb9e 8166365: Small immutable collections should provide optimized implementations when possible
Reviewed-by: smarks, psandoz, attila
2017-01-12 13:38:27 +01:00
Joe Darcy
0d958d9da8 8172475: Remove <tt></tt> usage from Class and ClassLoader
Reviewed-by: bpb, mchung
2017-01-09 21:40:10 -08:00
Nishit Jain
56088a52eb 8169480: Inconsistencies across Format class hierarchy in their API spec and actual implementation of Exceptions
Reviewed-by: naoto
2017-01-09 14:06:32 +05:30
Abjihit Roy
03b01bf748 8171348: Incorrect documentation for DateTimeFormatter letter 'k'
Reviewed-by: rriggs
2016-12-26 23:20:57 +05:30
Abjihit Roy
8249bf7524 8170653: The javadoc of ZoneRules.previousTransition() is wrong
Reviewed-by: rriggs
2016-12-26 23:15:06 +05:30
Abjihit Roy
f661cea33c 8170566: Incorrect phrase usage in javadocs documentation
Reviewed-by: rriggs
2016-12-26 23:09:54 +05:30
Abjihit Roy
07c66ef572 8169482: java.time.DateTimeFormatter javadoc: F is not week-of-month
Reviewed-by: rriggs
2016-12-26 22:57:26 +05:30
Abjihit Roy
c9b965110f 8164923: Error in the documentation for java.lang.Random
Reviewed-by: rriggs
2016-12-22 23:35:52 +05:30
Weijun Wang
2898df8929 8170900: Issue with FilePermission::implies for wildcard flag(-)
Reviewed-by: rriggs, xuelei
2017-01-05 22:58:54 +08:00
Peter Levart
5ada754c71 8172190: Re-apply the fix for bugs 8062389, 8029459, 8061950
Final fix for 8062389: Class.getMethod() is inconsistent with Class.getMethods() results, 8029459: getMethods returns methods that are not members of the class, 8061950: Class.getMethods() exhibits quadratic time complexity

Reviewed-by: alanb, mchung, psandoz, dfuchs, darcy, redestad
2017-01-05 08:51:03 +01:00
Paul Sandoz
94d019e9ba 8172201: Replace assert of return type in VarHandle.AccessMode with test
Reviewed-by: mchung
2017-01-04 17:20:41 -08:00
Claes Redestad
5ad7420c60 8172048: Re-examine use of AtomicReference in java.security.Policy
Reviewed-by: plevart, dholmes, chegar
2017-01-02 22:45:34 +01:00
Peter Levart
9de0bf15ef 8171988: Backout of fix for 8062389, 8029459, 8061950
Reviewed-by: chegar
2016-12-26 19:38:27 +01:00
Peter Levart
0081872919 8062389: Class.getMethod() is inconsistent with Class.getMethods() results
8029459: (reflect) getMethods returns methods that are not members of the class
8061950: Class.getMethods() exhibits quadratic time complexity

Reviewed-by: alanb, mchung, psandoz, dfuchs, darcy
2016-12-25 19:29:06 +01:00
Roger Riggs
b0e59adb6e 8171940: Incorrect statement about an absolute value of months unit after period's normalization
Reviewed-by: bpb
2016-12-23 13:42:21 -05:00
Rachna Goel
716457d7f5 8167143: CLDR timezone parsing does not work for all locales
Reviewed-by: naoto
2016-12-22 06:05:31 +00:00
Doug Lea
1414335f71 8170484: Miscellaneous changes imported from jsr166 CVS 2016-12
Reviewed-by: martin, smarks, psandoz
2016-12-21 14:26:52 -08:00
Doug Lea
bdab1d842f 8171051: LinkedBlockingQueue spliterator needs to support node self-linking
Reviewed-by: martin, smarks, psandoz
2016-12-21 14:22:53 -08:00
Brian Burkhalter
ce3243b0a6 8056205: (fs) Potential for NPE in Files.walkFileTree if closing directory fails
Change incorrect ioe != null to ioe == null

Reviewed-by: rriggs
2016-12-21 11:54:42 -08:00
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