411 Commits

Author SHA1 Message Date
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
Jamil Nimeh
c491b1ac4e 8058912: Broken link (access denied error) to http://www.rsasecurity.com in RC5ParameterSpec
Reviewed-by: xuelei, mullan
2015-01-07 09:32:41 -08: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
Jason Uh
3793acecce 8059916: Change default criticality of policy mappings and policy constraints certificate extensions
Reviewed-by: mullan
2015-01-13 14:33:54 -08: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
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
Valerie Peng
ac09164efa 8039921: SHA1WithDSA with key > 1024 bits not working
Removed the key size limits for all SHAXXXWithDSA signatures

Reviewed-by: weijun
2014-12-30 22:03:23 +00:00
Ivan Gerasimov
bd3205c63e 8068338: Better message about incompatible zlib in Deflater.init
Reviewed-by: alanb, sherman
2014-12-30 00:11:00 +03: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
Alejandro Murillo
45a55f064e Merge 2014-12-23 11:06:13 -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
Valerie Peng
fa447efe14 8049312: AES/CICO test failed with on several modes
Fixed error in calculating data sizes when using feedback modes

Reviewed-by: xuelei
2014-12-23 02:58:15 +00:00
Alejandro Murillo
f507e301d3 Merge 2014-12-19 17:01:45 -08:00
Pavel Rappo
69df2fa9e5 8067870: Fix java.io.ObjectInputStream.PeekInputStream#skip
Reviewed-by: rriggs, alanb
2014-12-18 16:44:32 +00:00
Kumar Srinivasan
f8fe49013d 8067421: java -help contains information about "-version:",'-jre-restrict-search', '-no-jre-restrict-search', but they are removed
8067411: tools/launcher/MultipleJRE.sh requires adjustments to work with module boundaries
8067290: Missing bug id in test/tools/launcher/*

Reviewed-by: darcy
2014-12-16 16:02:56 -08:00
Alejandro Murillo
346b210c83 Merge 2014-12-16 13:10:34 -08: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
Yumin Qi
8382195614 Merge 2014-12-14 23:03:00 +00:00
Coleen Phillimore
ecc9f19dc9 8042418: Remove JVM_FindClassFromClassLoader
The function has been replaced so is no longer used.

Reviewed-by: mchung, dholmes
2014-12-14 16:02:46 -05:00
Alejandro Murillo
c88778bc25 Merge 2014-12-11 23:06:14 -08:00
Vladimir Kozlov
19325052f9 Merge 2014-12-11 15:05:41 -08: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
Alan Bateman
ccab6bc563 8066915: (fs) Files.newByteChannel opens directories for cases where subsequent reads may fail
Reviewed-by: chegar
2014-12-10 15:01:26 +00: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
Yumin Qi
3dff2ab063 Merge 2014-12-08 00:25:10 -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
Chris Plummer
a47e1013c2 6762191: Setting stack size to 16K causes segmentation fault
Fixed by forcing the stack size to always be at least 32k.

Reviewed-by: dholmes, alanb, ksrini, sspitsyn
2014-12-04 11:26:46 -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
Alan Bateman
f0b198804a 8062955: (fs spec) Files.setLastModifiedTime should specify SecurityException more clearly
8062949: (fs) Files.setLastModifiedTime(path, null) does not throw NPE

Reviewed-by: chegar
2014-11-28 14:58:10 +00:00
Alejandro Murillo
e7d19b374a Merge 2014-11-27 07:16:54 -08:00
Weijun Wang
eafad5770a 8061253: Spec cleanup for some security-related classes
Reviewed-by: mullan
2014-11-26 15:28:46 +08:00
Alan Bateman
3469175a63 8065720: (ch) AbstractInterruptibleChannel.end sets interrupted to null
Reviewed-by: psandoz, chegar
2014-11-24 18:11:25 +00:00
Vladimir Ivanov
95ef6e0cb2 8059880: Get rid of LambdaForm interpretation
Reviewed-by: psandoz, kvn, shade
2014-11-24 07:19:36 -08:00
Vladimir Ivanov
b1ad8012a0 8063135: Enable full LF sharing by default
Reviewed-by: psandoz, shade
2014-11-24 07:16:38 -08:00
Staffan Larsen
63cf080672 Merge 2014-11-24 09:57:03 +01:00
Martin Buchholz
5ffaffb47e 8065159: AttributedString has quadratic resize algorithm
Grow backing arrays geometrically instead of arithmetically

Reviewed-by: naoto, okutsu
2014-11-21 16:30:02 -08:00
Vladimir Kozlov
37a6f605d0 Merge 2014-11-21 14:58:29 -08:00
Staffan Friberg
c90bc5b316 6321472: Add CRC-32C API
To add CRC-32C api and implementation

Reviewed-by: sherman
2014-11-21 09:28:53 -08:00