512 Commits

Author SHA1 Message Date
Joe Darcy
0841b6a90e 8071434: doc updates for java.lang.Object
Reviewed-by: rriggs
2015-01-29 15:14:44 -08:00
Vladimir Ivanov
55d14bca62 8071788: BlockInliningWrapper.asType() is broken
Reviewed-by: jrose
2015-01-29 10:29:49 -08:00
Vladimir Ivanov
676ea83240 8071787: Don't block inlining when DONT_INLINE_THRESHOLD=0
Reviewed-by: jrose
2015-01-29 10:29:43 -08:00
Vladimir Ivanov
bfc5193fe7 8069591: Customize LambdaForms which are invoked using MH.invoke/invokeExact
Reviewed-by: jrose, plevart, forax
2015-01-29 10:27:30 -08:00
Vladimir Ivanov
06305c456b 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: jrose, kvn
2015-01-29 10:27:30 -08:00
Yumin Qi
3f9b8313e3 Merge 2015-01-29 03:54:45 +00:00
Daniel Fuchs
b5f5424c83 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:48:59 +01:00
Brian Burkhalter
3e68a8af37 8069269: (spec) Defect in the System.nanoTime spec
Change the description of how to compare two nanoTime values.

Reviewed-by: martin
2015-01-26 17:16:57 -08:00
Paul Sandoz
d58ef60b88 8071477: Better Spliterator implementations for String.chars() and String.codePoints()
Reviewed-by: sherman
2015-01-26 17:26:49 +00:00
Paul Sandoz
318a438643 8032513: The Spliterator characteristics CONCURRENT and IMMUTABLE are mutually exclusive
Reviewed-by: chegar, lancea, dfuchs
2015-01-26 17:06:00 +00:00
Amy Lu
1059b1665d 8069262: Doclint regression in java.nio.channels.Channels
Reviewed-by: darcy
2015-01-23 16:16:39 +00:00
Konstantin Shefov
e70362baba 6933879: URISyntaxException when non-alphanumeric characters are present in scope_id
Reviewed-by: chegar
2015-01-23 15:42:06 +03:00
Peter Levart
eae923a8ae 8068427: Hashtable deserialization reconstitutes table with wrong capacity
Reviewed-by: mduigou, martin, chegar, dfuchs
2015-01-21 21:42:22 +01:00
Jaroslav Bachorik
b5ac4fe904 8064331: JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
Reviewed-by: mullan
2015-01-16 18:19:23 +01:00
Lev Priima
7882032236 8067471: Use private static final char[0] for empty Strings
Reviewed-by: igerasim, redestad, shade
2015-01-14 21:35:52 +03:00
Claes Redestad
3a90ffa2ab 8068498: Remove constructor dependency on line.separator from PrintWriter and BufferedWriter
Reviewed-by: alanb, sherman
2015-01-06 06:49:52 +01:00
Chris Hegarty
06e81aae83 8068599: Add mutability, serializability, and thread-safety, caveat to all Collectors that do not accept a Collection supplier
Reviewed-by: psandoz
2015-01-13 17:14:51 +00:00
Brian Burkhalter
4417397e26 4026465: Provide more byte array constructors for BigInteger
Add two's complement and sign-magnitude constructors for byte arrays with offset and length.

Reviewed-by: darcy, alanb, scolebourne
2015-01-09 17:27:28 -08:00
Joe Darcy
d332437cae 6481080: (ann) @Deprecated annotation has no effect on packages
Reviewed-by: lancea, alanb, psandoz, abuckley
2015-01-08 10:06:45 -08:00
Brian Burkhalter
29fc16ebbe 8059175: Zero BigDecimal with negative scale prints leading zeroes in String.format
Correct erroneous appending of zeroes and clean up code logic.

Reviewed-by: darcy, psandoz
2015-01-07 14:15:00 -08:00
Chris Hegarty
916c818ec2 8054565: FilterOutputStream.close may throw IOException if called twice and underlying flush or close fails
Co-authored-by: Nathan Clement <nathan.a.clement@hotmail.com>
Reviewed-by: alanb, prappo
2015-01-04 19:32:46 +00:00
Brian Burkhalter
cfcc0c431a 8064463: BigDecimal should populate NumberFormatException message
Populate all NumberFormatExceptions with appropriate messages.

Reviewed-by: alanb
2014-12-29 09:10:15 -08:00
Brian Burkhalter
0062f27c96 8030090: (fs) Add default methods to Path for derived methods
Use method bodies from sun.nio.fs.AbstractPath as default method implementations in Path.

Reviewed-by: alanb
2014-12-23 10:09:52 -08:00
Vinnie Ryan
befd7d1c25 8044445: JEP 229: Create PKCS12 Keystores by Default
Reviewed-by: mullan, weijun
2014-12-23 16:30:57 +00:00
Pavel Rappo
69df2fa9e5 8067870: Fix java.io.ObjectInputStream.PeekInputStream#skip
Reviewed-by: rriggs, alanb
2014-12-18 16:44:32 +00:00
Naoto Sato
9cb99ee080 8062588: Support java.util.spi.*, java.text.spi.*, java.awt.im.spi loaded from classpath
Reviewed-by: alanb
2014-12-16 12:48:31 -08:00
Pavel Rappo
a21f0f99a9 8066867: Add InputStream transferTo to transfer content to an OutputStream
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Patrick Reinhart <patrick@reini.net>
Reviewed-by: chegar
2014-12-16 12:43:36 +00:00
Staffan Friberg
9827fe02ea 8067289: Fix deprecation warnings in java.base module - CRC32C
To remove the deprecation warning in CRC32C class

Reviewed-by: darcy
2014-12-16 04:58:34 +00:00
Brian Burkhalter
871abc48e4 8025619: (fc) FileInputStream.getChannel on closed stream returns FileChannel that doesn't know that stream is closed
If the stream is closed ensure getChannel() returns a closed channel. Also, FileKey.create() should throw an IOException directly instead of wrapping it in an Error.

Reviewed-by: alanb
2014-12-15 12:09:49 -08:00
Weijun Wang
3e02b2dfeb 8064890: SecureClassLoader should use a ConcurrentHashMap
Reviewed-by: mullan
2014-11-20 17:52:18 +08:00
Daniel Fuchs
bb207a1cc1 8072692: Improve performance of SecurityManager.checkPackageAccess
Reviewed-by: mullan, weijun
2015-06-17 15:47:12 -04:00
Joe Darcy
48ea10de6b 8098790: Improve cross references and wording in java.lang.reflect.AnnotatedFoo type
Reviewed-by: lancea
2015-06-16 17:05:08 -07:00
Doug Lea
975075a8c8 8085978: LinkedTransferQueue<T>.spliterator can report LTQ.Node object, not T
Reviewed-by: psandoz, martin
2015-06-16 13:13:05 +02:00
Alejandro Murillo
ff4f8a8cef Merge 2015-06-15 10:56:31 -07:00
Sean Mullan
0338c81dbd 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
Reviewed-by: weijun
2015-06-12 12:50:41 -04:00
Srikanth Adayapalam
3132301b74 8054304: Clarify treatment of bounds in j.l.r.Annotated{WildcardType,TypeVariable}
Reflection APIs should return unannotated Object as the upper bound when there is no explicit upper bound.

Reviewed-by: darcy
2015-06-12 10:58:31 +05:30
Martin Buchholz
08eb67b941 8067377: My hobby: caning, then then canning, the the can-can
Fix ALL the stutters!

Reviewed-by: rriggs, mchung, lancea
2014-10-30 07:31:41 -07:00
Roger Riggs
b13527e322 8056238: (process) ProcessBuilder.redirectError spec has a broken link
Reviewed-by: lancea
2014-12-12 15:07:00 -05:00
Otavio Santana
89cec23580 8055723: Replace concat String to append in StringBuilder parameters (dev)
Reviewed-by: redestad, ulfzibis, weijun, prappo, igerasim, alanb
2014-12-11 15:23:02 +08:00
Xueming Shen
b41070012b 8046219: (str spec) String(byte[], int, int, Charset) should be clearer when IndexOutOfBoundsException is thrown
To update the java doc to clarify the existing behavior

Reviewed-by: lancea
2014-12-10 14:11:05 -08:00
Vladimir Ivanov
e0eba41e1c 8066746: MHs.explicitCastArguments does incorrect type checks for VarargsCollector
Reviewed-by: jrose, psandoz
2014-12-09 09:22:07 -08:00
Pavel Rappo
421fc583be 8066678: java.nio.channels.Channels cleanup
Reviewed-by: alanb, chegar
2014-12-05 15:35:15 +00:00
Joe Darcy
4edac8c9d2 8066617: Suppress deprecation warnings in java.base module
Reviewed-by: lancea
2014-12-04 12:59:43 -08:00
Vladimir Ivanov
ea89dad13c 8057020: LambdaForm caches should support eviction
Reviewed-by: psandoz, jrose, shade
2014-12-04 07:15:37 -08:00
Chris Hegarty
43842f6349 Merge 2014-12-03 19:28:35 +00:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Paul Sandoz
cec929efaf 8066397: Remove network-related seed initialization code in ThreadLocal/SplittableRandom
Reviewed-by: alanb, dl, chegar, rriggs, shade
2014-12-03 12:00:26 +01:00
Alejandro Murillo
792bc020b9 Merge 2014-12-02 14:36:23 -08:00
Daniel Fuchs
3034f050f9 8065552: setAccessible(true) on fields of Class may throw a SecurityException
This fix hides the new private Class.classLoader field from reflection, rather than making it not accessible.

Reviewed-by: mchung, coffeys
2014-12-01 21:02:21 +01:00
Alan Bateman
14ee089287 8066196: (fs) Typo in Path::normalize, empty path only returned if path does not have a root component
Reviewed-by: dfuchs
2014-12-01 13:44:57 +00:00