1188 Commits

Author SHA1 Message Date
Claes Redestad
00a5fb9183 8160302: Reduce number of lambdas created when loading java.util.regex.Pattern
Reviewed-by: sherman, martin
2017-02-02 12:28:23 +01:00
Arno Zeller
4d92a188b2 8170868: DefaultProxySelector should use system defaults on Windows, MacOS and Gnome
Reviewed-by: chegar, simonis, clanger, stuefe, erikj
2017-02-02 10:28:47 +01:00
Naoto Sato
88f86ecc32 8172365: Provide a better migration path for ResourceBundleControlProvider
Reviewed-by: mchung
2017-01-30 14:38:08 -08:00
Paul Sandoz
db38e8df3b 8172732: spec clarification for URLClassLoader for Multirelease jars
Reviewed-by: mchung, chegar, alanb
2017-01-24 18:24:40 -08:00
Xue-Lei Andrew Fan
fe5be990e0 8172869: 4096 is not supported yet for the DH Parameter Generator
Reviewed-by: ascarpino, mullan
2017-01-24 23:07:53 +00:00
Paul Sandoz
bef071156d 8173083: VarHandle usages in LockSupport and ThreadLocalRandom result in circularity issues
Reviewed-by: martin
2017-01-20 08:01:43 -08:00
Sean Mullan
d9d9d8701a 8055206: Update SecurityManager::checkPackageAccess to restrict non-exported JDK packages by default
Reviewed-by: mchung
2017-01-19 13:50:02 -05:00
Paul Sandoz
6b84b1d30a 8160710: Enable Thread to grant VarHandle field access to ThreadLocalRandom/Striped64
Reviewed-by: martin, dl, chegar
2017-01-19 09:27:24 -08:00
Henry Jen
d7509c02b3 Merge 2017-01-19 07:02:33 -08:00
Claes Redestad
ced9c19693 8172905: Minor startup cleanup of CallSite and MethodType
Reviewed-by: psandoz, jrose
2017-01-19 13:37:05 +01:00
Naoto Sato
f66de31c24 8171140: Re-examine ResourceBundle::clearCache method
Reviewed-by: mchung, dfuchs
2017-01-18 08:03:04 -08:00
Claes Redestad
85b40fde0b 8037325: Class.getConstructor() performance regression
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Reviewed-by: mchung
2017-01-18 10:24:47 +01:00
Peter Levart
842350c666 8171139: Simplify ResourceBundle.CacheKey and ClassLoader may not be needed
Reviewed-by: dfuchs
2017-01-17 11:34:47 -08:00
Brian Burkhalter
eeb1e36d49 8152272: Unable to create temporary file using createTempFile method if System.getProperty(file.separator) is used
Normalize the name component of the temporary file path

Reviewed-by: rriggs
2017-01-13 13:31:16 -08:00
Stuart Marks
922f392c82 8172221: Directorate of Time has been superseded
Reviewed-by: lancea
2017-01-13 12:35:53 -08:00
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