8100 Commits

Author SHA1 Message Date
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
Yumin Qi
09a7d945d4 Merge 2015-01-18 11:50:10 -08:00
Joe Darcy
c0500545f7 8069127: Suppress deprecation warnings in jdk.deploy.osx module
Reviewed-by: wetmore, juh
2015-01-15 16:45:02 -08:00
Artem Smotrakov
f46b3d442f 8059009: LDAPCertStore fails to retrieve CRL after LDAP server closes idle connection
Reviewed-by: vinnie
2015-01-15 17:57:52 +00:00
Paul Sandoz
083d9a2b61 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:14 +01:00
Joe Darcy
1144804378 8068948: Update java.base module to use new try-with-resources statement
Reviewed-by: alanb, igerasim
2015-01-14 16:44:59 -08: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
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
Mark Sheppard
d2bbef8dc7 8068597: Add error code to to exception condition message resulting from GetAdaptersAddresses function calls
Added error code to exception message thrown after a GetAdaptersAddresses call.

Reviewed-by: chegar
2015-01-08 20:00:14 +00:00
Sean Coffey
c20d40c269 8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
2015-01-08 11:44:10 +00: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
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
Alan Bateman
e9f8462593 8047776: Add module java.transaction to export API javax.transaction
Reviewed-by: lancea, mchung
2015-01-06 13:58:24 +00:00
Athijegannathan Sundararajan
498b808fdd 8068462: javax.script.ScriptEngineFactory.getParameter spec is not completely consistent with the rest of the API
Reviewed-by: alanb, jlaskey
2015-01-06 18:22:09 +05:30
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
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
Jason Uh
dfb7eea15e 8046724: XML Signature ECKeyValue elements cannot be marshalled or unmarshalled
Reviewed-by: mullan
2015-01-09 11:58:34 -08:00
Athijegannathan Sundararajan
3ad1d2a580 8068279: (typo in the spec) javax.script.ScriptEngineFactory.getLanguageName
Reviewed-by: jlaskey, alanb
2015-01-05 21:52:03 +05:30
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
Claes Redestad
60ed4f34b2 8028357: Unnecessary allocation in AliasFileParser
Reviewed-by: jbachorik
2014-12-31 15:03:16 +01: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
Brian Burkhalter
89ee032790 8067964: Native2ascii doesn't close one of the streams it opens
Change sun.tools.native2ascii.Main.convert() to use try-with-resources; also clean up code formatting.

Reviewed-by: chegar
2014-12-23 12:40:06 -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
Valerie Peng
2f10f1d200 8043349: Consider adding aliases for Ucrypto algorithm-only Cipher transformations
Add alias RSA and AES for RSA/ECB/PKCS1Padding and AES/ECB/PKCS5Padding.

Reviewed-by: wetmore
2014-12-23 02:36:48 +00:00
Phil Race
22f59ce99e Merge 2014-12-20 10:11:14 -08:00
Alejandro Murillo
f507e301d3 Merge 2014-12-19 17:01:45 -08:00
Lance Andersen
ddcbf61389 8067904: Additional DriverManager clean-up from 8060068
Reviewed-by: mchung
2014-12-18 18:51:28 -05:00
Pavel Rappo
69df2fa9e5 8067870: Fix java.io.ObjectInputStream.PeekInputStream#skip
Reviewed-by: rriggs, alanb
2014-12-18 16:44:32 +00:00
Pavel Rappo
024e2c06d7 8066642: Fix deprecation warnings in jdk.naming module
Reviewed-by: alanb, chegar
2014-12-17 13:03:29 +00:00
Valerie Peng
66ed69c8ba Merge 2014-12-17 00:19:28 +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
Valerie Peng
dbe2f1349f Merge 2014-12-16 22:33:43 +00: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
Joe Darcy
e9e0b591dc 8067088: Suppress solaris-specific deprecation warnings in the jdk.crypto.ucrypto module
Reviewed-by: valeriep
2014-12-16 11:49:37 -08:00
Sergey Bylokhov
020e01bb92 8065373: [macosx] jdk8, jdk7u60 Regression in Graphics2D drawing of derived Fonts
Reviewed-by: bae, prr
2014-12-16 19:46:22 +00:00
Joe Darcy
41844a4b8c 8067091: Fix Windows-specific deprecation warnings in the jdk.crypto.mscapi module
Reviewed-by: vinnie
2014-12-16 11:05:12 -08:00
Phil Race
95079baa3f Merge 2014-12-16 10:09:22 -08:00
Joe Darcy
0204a1cd9c 8067086: Suppress mac-specific deprecation warnings in the java.desktop module
Reviewed-by: prr
2014-12-16 10:09:01 -08:00
Phil Race
84ddb56140 Merge 2014-12-16 09:58:02 -08:00
Joe Darcy
31ae349097 8067092: Suppress windows-specific deprecation warnings in the java.desktop module
Reviewed-by: prr, alanb
2014-12-16 09:57:33 -08:00
Sergey Bylokhov
05705c949e 7077826: Unset and empty DISPLAY variable is handled differently by JDK
Reviewed-by: azvegint, ant
2014-12-16 20:23:46 +03:00
Sergey Bylokhov
d2295af274 6470361: Swing's Threading Policy example does not compile
Reviewed-by: azvegint, alexsch
2014-12-16 19:26:06 +03:00