959 Commits

Author SHA1 Message Date
Claes Redestad
d37bb2422b 8143127: InvokerBytecodeGenerator emitConst should handle Byte, Short, Character
Reviewed-by: vlivanov, shade, forax
2015-12-09 18:25:36 +01:00
Xue-Lei Andrew Fan
30655cc742 8141651: Deadlock in sun.security.ssl.SSLSocketImpl
Reviewed-by: weijun
2015-12-09 10:36:33 +00:00
Stuart Marks
d42e70fc3c 8139232: JEP-269 initial API and skeleton implementations
Reviewed-by: psandoz, rriggs
2015-12-08 13:48:22 -08:00
Xueming Shen
b0e22f9603 8144958: changes by JDK-8142508 seems to have broken jtreg
Reviewed-by: darcy
2015-12-08 16:43:58 -08:00
Xueming Shen
44a8a73eb6 8142508: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk
Reviewed-by: coffeys
2015-12-08 09:25:01 -08:00
Alan Bateman
11e31407a5 8144210: Runtime.currentRuntime should be final
Reviewed-by: dl, dholmes
2015-11-29 20:27:38 +00:00
Aleksey Shipilev
c7a7ba0e1e 8148483: JEP 280: Indify String Concatenation
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, mcimadamore, igerasim, forax, plevart, vlivanov, ihse
2016-01-28 19:43:05 +03:00
Antonios Printezis
816a40ae00 8147468: Allow users to bound the size of buffers cached in the per-thread buffer caches
Introduces the jdk.nio.maxCachedBufferSize property.

Reviewed-by: alanb, bpb
2016-01-28 10:58:10 -05:00
Alan Bateman
c464136491 8148192: (fs) Path.register can fail with Bad file descriptor and other errors
Reviewed-by: chegar
2016-01-28 12:55:19 +00:00
Martin Buchholz
b9d758e600 8148174: NegativeArraySizeException in Vector.grow(int)
Improve management of internal array

Reviewed-by: smarks, forax
2016-01-25 16:07:00 -08:00
Claes Redestad
e9df200123 8147962: URL should handle lower-casing of protocol locale-independently
Reviewed-by: chegar, alanb, naoto
2016-01-27 13:51:35 +01:00
Brian Burkhalter
7b678f7571 8148121: Typo in API , FileOwnerAttributeView.getOwner() and FileOwnerAttributeView.setOwner()
"It it" -> "It is"

Reviewed-by: sherman
2016-01-26 15:30:42 -08: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
Bob Vandette
3ab71df2e0 Merge 2015-10-19 15:48:09 -04:00
Alejandro Murillo
f629fa832c Merge 2015-10-19 12:30:18 -07:00
Paul Sandoz
5e8d2b8ebd 8080418: Add Optional.or()
Reviewed-by: chegar, forax, scolebourne
2015-10-19 11:28:50 -07:00