804 Commits

Author SHA1 Message Date
Nils Eliasson
5f1eb58771 Merge 2015-11-16 20:37:22 +01:00
Doug Lea
81c502660b 8029574: TreeMap: optimization of method computeRedLevel()
Reviewed-by: martin, shade
2015-11-16 10:14:46 -08:00
Nadeesh TV
31f7efd560 8071919: Add java.time.Clock.tickMillis(ZoneId zone) method
Reviewed-by: dfuchs, rriggs, scolebourne
2015-11-17 11:06:46 -05:00
Nadeesh TV
b6d29b4f0b 8072746: LocalDate.isEra() should return IsoEra not Era
Reviewed-by: rriggs, scolebourne
2015-11-17 10:44:22 -05:00
Claes Redestad
42e4e0c06f 8143142: AssertionError in MethodHandleImpl
Reviewed-by: psandoz, vlivanov
2015-11-17 15:29:21 +01:00
Paul Sandoz
e3111f5d49 8142493: Utility methods to check indexes and ranges doesn't specify behavior when function produces null
Reviewed-by: lancea, rriggs, mchung
2015-11-17 14:11:46 +01:00
Paul Sandoz
c16c0e61c9 8141409: Arrays.equals accepting a Comparator
Reviewed-by: rriggs
2015-11-17 14:11:42 +01:00
Claes Redestad
5b5c2d0925 8142487: Cleanup sun.invoke.util.Wrapper zeroes to be both reliable and lazy
Reviewed-by: vlivanov, jrose
2015-11-17 12:43:09 +01:00
Claes Redestad
30545d614d 8142334: Improve lazy initialization of java.lang.invoke
Reviewed-by: psandoz, vlivanov, mhaupt
2015-11-17 11:51:45 +01:00
Roger Riggs
9322c398b5 8133079: java.time LocalDate and LocalTime ofInstant() factory methods
Reviewed-by: rriggs, scolebourne
2015-11-16 15:28:55 -05:00
Roland Westrelin
694262c33b 8042997: Make intrinsic some or all check index/range methods
Objects.checkIndex() intrinsic

Reviewed-by: psandoz, shade
2015-11-16 10:18:18 +01:00
Roger Riggs
2714bdae50 8132394: (process) ProcessBuilder support for a pipeline of processes
Reviewed-by: psandoz, alanb
2015-11-13 15:48:59 -05:00
Roger Riggs
bb5de762da 8141571: jdk/internal/jimage/JImageReadTest.java crashing in msvcr120.dll
Add asserts to diagnose

Reviewed-by: jlaskey
2015-11-13 12:00:23 -05:00
Nadeesh TV
09c0550556 8054978: java.time.Duration.parse() fails for negative duration with 0 seconds and nanos
Reviewed-by: rriggs, scolebourne
2015-11-13 11:52:56 -05:00
Alan Bateman
11e31407a5 8144210: Runtime.currentRuntime should be final
Reviewed-by: dl, dholmes
2015-11-29 20:27:38 +00:00
Sean Mullan
4591a2d447 Merge 2015-11-12 16:09:09 -05:00
Sean Mullan
02b5487b04 8072463: Remove requirement that AKID and SKID have to match when building certificate chain
Reviewed-by: xuelei
2015-11-12 16:07:14 -05:00
Roger Riggs
e15eefc7d7 8141652: Rename methods Objects.nonNullElse* to requireNonNullElse*
And some usages of replacing expr != null ? expr : otherexpr

Reviewed-by: jrose, chegar
2015-11-11 22:38:15 -05:00
Chris Hegarty
bdbc4d15df 8140606: Update library code to use internal Unsafe
Reviewed-by: alanb, mchung, psandoz, weijun
2015-11-11 09:19:12 +00:00
Sebastian Sickelmann
47ec9819c2 8141662: Javadoc fix. Do not suggest to use new Boolean(true)
Javadoc only fix of 5108778 Too many instances of java.lang.Boolean created in Java application for the java/net library

Reviewed-by: wetmore
2015-11-10 21:13:40 +01:00
Nadeesh TV
5541c558b8 8138664: ZonedDateTime parse error for any date using 'GMT0' ZoneID - Java Bug System
Reviewed-by: rriggs, scolebourne, sherman
2015-11-10 14:12:53 -05:00
Nadeesh TV
dd0226189c 8066571: UnsupportedTemporalTypeException is thrown not only in the case of unsupported temporal - Java Bug System
Reviewed-by: rriggs, scolebourne
2015-11-10 14:11:50 -05:00
Alejandro Murillo
b96356c53b Merge 2015-11-09 20:37:05 -08:00
Iris Clark
2f8616e7b4 Merge 2015-11-09 10:57:01 -08:00
Claes Redestad
ff90534bb5 8141678: sun.invoke.util.Wrapper eagerly initializes all integral type caches
Reviewed-by: vlivanov, psandoz, shade, plevart
2015-11-09 17:15:07 +01:00
Claes Redestad
8e73a2915d 8141677: Improve java.lang.invoke.MemberName hashCode implementation
Reviewed-by: vlivanov, psandoz, shade
2015-11-09 17:14:05 +01:00
Roger Riggs
fe2786af5f 8138566: (Process) java.lang.Process.allChildren specification clarification
8140213: Process/ProcessHandle.onExit() spec need to be improved
8140250: (process) Process.info description is inaccurate

Rename to descendants() and clarify

Reviewed-by: psandoz
2015-11-09 11:02:07 -05:00
Peter Levart
10eb29b33e 8131129: Attempt to define a duplicate BMH$Species class
Reviewed-by: mhaupt, redestad, vlivanov
2015-11-09 13:44:58 +01:00
Artem Smotrakov
523fdf9bfb 8140649: imageFile should use delete[] with new[]
Reviewed-by: jlaskey
2015-11-09 13:58:10 +03:00
Tagir Valeev
58087e2179 8141630: Specification of Collections.synchronized* need to state traversal constraints
Reviewed-by: psandoz
2015-11-09 09:23:49 +01:00
Alejandro Murillo
7bbbc98da3 Merge 2015-11-06 11:11:53 -08:00
Nils Eliasson
aa89658abd Merge 2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
3233a95edc Merge 2015-11-05 20:00:53 +01:00
Claes Redestad
05e8afd0ef 8141536: MethodType field offset calculation could be lazy
Reviewed-by: vlivanov
2015-11-05 16:36:55 +01:00
Claes Redestad
6f0997408a 8141539: Avoid calculating string constants in InnerClassLambdaMetaFactory
Reviewed-by: vlivanov
2015-11-05 16:29:16 +01:00
Alejandro Murillo
20cb4ca730 8139986: Store debug level in java.vm.debug and conditionally print in "java -version"
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Reviewed-by: ihse, dcubed, ksrini, dholmes
2015-11-04 16:02:53 -08:00
Joe Darcy
afaeebc08d 8141359: @Deprecated on packages should be clarified
Reviewed-by: rriggs
2015-11-04 09:01:15 -08:00
Paul Sandoz
b6f45b1889 8033148: Lexicographic comparators for arrays
Reviewed-by: jrose, chegar, bchristi, mduigou
2015-11-04 16:44:38 +01:00
Tobias Hartmann
4ed5b73f3d 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:42:11 +01:00
Iris Clark
321ddf167f Merge 2015-11-01 09:49:05 -08:00
Roger Riggs
cdd7249f6e 8139390: Very long classname in jimage causes SIGSEGV
Correct issues with ImageNativeSubstrate and JImageReadTest

Reviewed-by: mchung
2015-10-30 11:12:20 -04:00
Jesper Wilhelmsson
a18ce1f7d5 Merge 2015-10-30 00:02:35 +01:00
Peter Levart
78ed4c4c8c 8066644: Fix deprecation warnings in jdk.zipfs module
Co-authored-by: Claes Redestad <claes.redestad@gmail.com>
Reviewed-by: sherman, shade
2015-10-28 23:31:01 +01:00
Brent Christian
084b341c80 8138824: java.lang.String: spec doesn't match impl when ignoring case - equalsIgnoreCase(), regionMatches()
Reviewed-by: naoto, rriggs
2015-10-27 09:20:24 -07:00
Chris Hegarty
961f5bb19f 8139891: Prepare Unsafe for true encapsulation
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:19:55 +00:00
Vyom Tewari
392da5db2d 8068887: java.lang.Throwable could use Collections.emptyList for suppressedException
Java.lang.Throwable could use Collections.emptyList for suppressedException

Reviewed-by: mchung, alanb, shade, redestad
2015-10-27 10:14:36 +05:30
Michael Haupt
43fd9baef4 8136967: revert all changes applied to obtain information about 8131129
Reviewed-by: sundar
2015-10-27 09:09:37 +01:00
Claes Redestad
10cd607753 6823565: Excessive use of HandleList class in de-serialization code causes OutOfMemory
Reviewed-by: chegar, shade
2015-10-28 12:35:54 +01:00
Iris Clark
b7cb99d927 Merge 2015-10-25 19:16:39 -07:00
Bob Vandette
24029cc8dd Merge 2015-10-21 16:39:02 -04:00