1358 Commits

Author SHA1 Message Date
Doug Lea
ecabcca746 8172726: ForkJoin common pool retains a reference to the thread context class loader
Reviewed-by: martin, psandoz, chegar
2017-02-07 00:38:22 -08:00
Sean Mullan
779401fbbf 8173827: Remove forRemoval=true from several deprecated security APIs
Reviewed-by: redestad, xuelei
2017-02-06 08:59:00 -05:00
Jesper Wilhelmsson
d59901faa4 Merge 2017-02-04 03:29:39 +01:00
Doug Lea
030a779128 8171886: Miscellaneous changes imported from jsr166 CVS 2017-02
Reviewed-by: martin, psandoz
2017-02-03 13:24:59 -08:00
Doug Lea
7f519be836 8169748: LinkedTransferQueue bulk remove is O(n^2)
8172023: Concurrent spliterators fail to handle exhaustion properly

Reviewed-by: martin, psandoz, smarks
2017-02-03 13:24:59 -08:00
Doug Lea
1f99fea68c 8173706: Is able to set a negative j.u.Vector size in JDK9 b151
Reviewed-by: martin, psandoz, smarks
2017-02-03 13:24:59 -08:00
Roger Riggs
48795d4f02 8172299: Improve class processing
Reviewed-by: coffeys, chegar, ahgross, skoivu, rhalade
2017-02-03 14:10:33 -05:00
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
Jesper Wilhelmsson
cbbc62dced Merge 2017-02-01 00:56:16 +01:00
Jesper Wilhelmsson
e37cc00a49 Merge 2017-01-31 20:54:44 +01:00
Brent Christian
d0a0cdf753 8156073: 2-slot LiveStackFrame locals (long and double) are incorrect
Reviewed-by: coleenp, mchung
2017-01-31 11:51:02 -08: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
Jesper Wilhelmsson
9400d2bd29 Merge 2017-01-24 00:30:25 +01: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
Claes Redestad
ea8d3e109a 8171855: Move package name transformations during module bootstrap into native code
Reviewed-by: alanb, acorn, lfoltan, mchung, plevart, hseigel, sspitsyn
2017-01-19 11:27:03 +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
Jesper Wilhelmsson
4408cd9a08 Merge 2017-01-16 16:18:04 +01: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
Harold Seigel
a3946e30e3 8172288: Fix Jigsaw related module/package error messages and throw correct exceptions
Reword error messages and throw IllegalStateExceptions where appropriate

Reviewed-by: alanb, acorn, lfoltan, gtriantafill
2017-01-13 10:45:53 -05: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