392 Commits

Author SHA1 Message Date
Chris Hegarty
6716f24c45 8076405: Improve serial serialization
Reviewed-by: alanb, igerasim
2015-04-17 15:36:32 +01:00
Chris Hegarty
4799f0adcd 8076401: Serialize OIS data
Reviewed-by: alanb, igerasim
2015-04-17 15:28:44 +01:00
Vinnie Ryan
8b41866506 8075374: Responding to OCSP responses
Reviewed-by: mullan
2015-04-10 18:34:57 +01:00
Valerie Peng
baceaab271 8074865: General crypto resilience changes
Replaced Arrays.equals() with MessageDigest.isEqual() when comparing sensitive values

Reviewed-by: mullan, xuelei
2015-04-06 20:24:27 +00:00
Xue-Lei Andrew Fan
635f7a3e20 8067694: Improved certification checking
Reviewed-by: mullan, jnimeh, coffeys, robm, asmotrak, ahgross
2015-02-04 11:13:14 +00:00
Roger Riggs
9bb445c368 Merge 2015-07-14 22:21:52 -04:00
Yuka Kamiya
64b36f8f63 8032446: Support Unicode 7.0.0 in JDK 9
8130889: Missing "@since 1.8" tags in j.l.Character.java

Reviewed-by: naoto, okutsu
2015-07-15 11:05:51 +09:00
Alejandro Murillo
1d7da049eb Merge 2015-07-14 16:29:08 -07:00
Roger Riggs
8477d88b81 8078099: (process) ProcessHandle should uniquely identify processes
8078108: (process) ProcessHandle.isAlive should be robust

IsAlive should check and confirm the start time

Reviewed-by: simonis, plevart
2015-07-14 15:35:37 -04:00
Roger Riggs
7b58767f2b 8129344: (process) ProcessHandle instances should define equals and be value-based
Add equals(), hashCode() and value-based spec

Reviewed-by: psandoz
2015-07-14 15:29:16 -04:00
Alejandro Murillo
867e029083 Merge 2015-07-09 22:46:18 -07:00
Zoltan Majo
94d36649af 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:23:45 +02:00
Vladimir Kozlov
ea0323cf1a Merge 2015-07-02 17:50:25 -07:00
Andrew Haley
eb4655db3e Merge 2015-07-02 11:03:50 +01:00
Ivan Gerasimov
0e510a1f61 8077242: (str) Optimize AbstractStringBuilder.append(CharSequence, int, int) for String argument
Reviewed-by: martin
2015-07-02 00:26:35 +03:00
Martin Buchholz
57996d703c 6260652: (coll) Arrays.asList(x).toArray().getClass() should be Object[].class
Return Arrays.copyOf(a, a.length, Object[].class)

Reviewed-by: igerasim, psandoz
2015-06-29 15:02:35 -07:00
Ivan Gerasimov
82f8a14808 8130022: Use Java-style array declarations consistently
Reviewed-by: coffeys
2015-07-09 10:37:07 +03:00
Artem Smotrakov
aa2d62b688 8129444: socksProxyVersion system property ignored for Socket(Proxy)
Reviewed-by: chegar
2015-07-03 08:00:33 +01:00
Valerie Peng
5109058c5d 7191662: JCE providers should be located via ServiceLoader
Enhanced to use ServiceLoader and switched provider to Provider.Service model.

Reviewed-by: mullan, alanb, mchung
2015-06-26 21:34:34 +00:00
Naoto Sato
a693ebca66 8008577: Use CLDR Locale Data by Default
Reviewed-by: erikj, okutsu
2015-06-24 16:42:11 -07:00
Stuart Marks
7c8e579281 8080450: doc for Double/Int/LongSummaryStatistics.toString has errors
Reviewed-by: darcy, lancea
2015-06-24 16:08:58 -07:00
Xueming Shen
b46a6500b0 8129544: ArrayIndexOutOfBoundsException when decoding corrupt Base64 string
To take input bytes as unsigned before check range

Reviewed-by: alanb
2015-06-24 11:15:23 -07:00
Paul Sandoz
f219ffb2f2 8072773: (fs) Files.lines needs a better splitting implementation for stream source
Reviewed-by: alanb
2015-06-24 12:05:30 +02:00
Alejandro Murillo
acbfb8777d Merge 2015-06-23 08:59:06 -07:00
Paul Sandoz
3a0e0c86d3 8129120: Terminal operation properties should not be back-propagated to upstream operations
Reviewed-by: briangoetz, chegar
2015-06-23 09:49:55 +02:00
Alejandro Murillo
d5fbd33cd3 Merge 2015-06-18 22:38:45 -07:00
Andrew Haley
97bd6da6c6 8130150: Implement BigInteger.montgomeryMultiply intrinsic
Add montgomeryMultiply intrinsics

Reviewed-by: kvn
2015-06-16 14:58:30 +01:00
Vladimir Kozlov
bd1fbafc35 Merge 2015-06-12 09:59:30 -07:00
Alejandro Murillo
8eb3086ddf Merge 2015-06-11 12:02:13 -07:00
Volker Simonis
9a8eaa367e 8081674: EmptyStackException at startup if running with extended or unsupported charset
Reviewed-by: mchung, alanb
2015-06-11 17:29:09 +02:00
Vladimir Ivanov
8d56892707 8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn
2015-06-11 14:20:01 +03:00
Sean Mullan
d107e7ec6c Merge 2015-06-09 09:19:43 -04:00
Sean Mullan
e37ef5fefc 8056179: Store permissions in concurrent collections in PermissionCollection subclasses
8065942: Store PermissionCollection entries in a ConcurrentHashMap instead of a HashMap in Permissions class

Reviewed-by: weijun
2015-06-09 09:18:07 -04:00
Paul Sandoz
5744f4fc30 8071597: Add Stream dropWhile and takeWhile operations
Reviewed-by: briangoetz, smarks, chegar, forax
2015-06-09 07:10:03 +01:00
Pavel Rappo
91a4a6b0ce 8064925: URLConnection::getContent needs to be updated to work with modules
Reviewed-by: chegar, alanb
2015-07-10 16:40:12 +01:00
Paul Sandoz
e56c76e9f7 8081678: Add Stream returning methods to classes where there currently exist only Enumeration returning methods
Reviewed-by: lancea, alanb, chegar, dfuchs, mullan, smarks
2015-06-09 07:10:02 +01:00
Jason Uh
84ebc260b9 8022444: Remove sun.security.util.ObjectIdentifier.equals(ObjectIdentifier other) method
Reviewed-by: mullan
2015-06-29 16:36:44 -07:00
Martin Buchholz
d67c81198b 8050091: (coll) LinkedList has incorrect implementation comment
Rework implementation invariant comments

Reviewed-by: igerasim
2015-06-29 14:59:20 -07:00
Peter Levart
24d0d5af7c 8042377: BufferedWriter and FilteredOutputStream.close throw IAE if flush and close throw equal exceptions
Explcitly handle IOExceptions in FilteredOutputStream.close() instead of using try-with-resources approach.

Reviewed-by: chegar, alanb
2015-06-29 08:39:29 -07:00
Sunny Chan
36d62dcbb1 8080945: Improve the performance of primitive Arrays.sort for certain patterns of array elements
Co-authored-by: Mohammad Rezaei <mohammad.rezaei@gs.com>
Reviewed-by: psandoz
2015-06-09 07:05:48 +01:00
Alejandro Murillo
84e8aa917e Merge 2015-06-08 11:11:48 -07:00
Alexander Stepanov
2541238e18 8081517: minor cleanup for docs
Fix some tidy and javadoc warnings/errors

Reviewed-by: lancea, rriggs
2015-06-08 16:37:53 +04:00
Vladimir Kozlov
4c0bf57106 Merge 2015-06-04 19:24:28 -07:00
Stuart Marks
bc90fc9b01 8072726: add adapter to convert Enumeration to Iterator
Reviewed-by: redestad, forax, chegar, dfuchs, psandoz, rriggs, briangoetz
2015-06-04 18:28:14 -07:00
Alejandro Murillo
f77dadee42 Merge 2015-06-04 15:38:00 -07:00
Sean Coffey
4ae5f74173 8072384: Setting IP_TOS on java.net sockets not working on unix
Reviewed-by: michaelm
2015-06-04 18:16:25 +01:00
Chris Hegarty
46b53cd5cf 8080835: Add blocking bulk read to java.io.InputStream
Reviewed-by: alanb, rriggs, prappo
2015-06-04 10:27:06 +01:00
Peter Levart
1c2084bafb 8079063: ZoneOffsetTransitionRule.of should throw IAE for non-zero nanoseconds
Reviewed-by: rriggs, scolebourne
2015-06-04 10:58:17 +02:00
Vladimir Kozlov
438dec2d0d 8081778: Use Intel x64 CPU instructions for RSA acceleration
Add intrinsics for BigInteger squareToLen and mulAdd methods.

Reviewed-by: kvn, jrose, aph, ascarpino, fweimer
2015-06-03 12:54:08 -07:00
Ivan Gerasimov
f35750c5d6 8058779: Faster implementation of String.replace(CharSequence, CharSequence)
Reviewed-by: sherman, plevart, forax, psandoz
2015-06-03 19:26:58 +03:00