361 Commits

Author SHA1 Message Date
Alexander Stepanov
321faa7346 8132468: docs: replace <tt> tags (obsolete in html5) for java.io, java.lang, java.math
Reviewed-by: lancea, dfuchs, smarks
2015-08-06 13:20:13 +03:00
Stuart Marks
e6d9c734ec 8132800: clarify stream package documentation regarding sequential vs parallel modes
Reviewed-by: psandoz
2015-08-04 14:45:38 -07:00
Ivan Gerasimov
f2aa30e173 8131034: Cleanup in j.u.regex.Pattern.quote()
Reviewed-by: psandoz, sherman, martin
2015-08-02 01:39:18 +03:00
Vinnie Ryan
c1cd222df9 8130850: Support loading a keystore with a custom KeyStore.LoadStoreParameter class
Reviewed-by: mullan
2015-07-31 14:29:25 +01:00
Paul Sandoz
8856bacb17 8130828: Fix some typos and omissions in the the j.u.stream JavaDoc
Reviewed-by: smarks
2015-07-31 12:29:01 +02:00
Roger Riggs
a0824cf9ea 8132705: Refactor SharedSecrets in sun.misc.JavaNetAccess
Factor out access for InetAddress

Reviewed-by: chegar, michaelm, alanb
2015-07-30 14:16:58 -04:00
Steve Drach
81705a9e0c 8062849: Optimize EnumMap.equals
In the equals method, if the two EnumMaps are a different size return false since they can't be equal.

Reviewed-by: martin, bchristi, rriggs, psandoz
2015-07-24 15:33:13 -07:00
Alejandro Murillo
2135b0eb76 Merge 2015-07-29 20:21:14 -07:00
Naoto Sato
0dfdc19faa 8027607: (rb) Provide UTF-8 based properties resource bundles
Reviewed-by: okutsu, sherman
2015-07-29 13:36:53 -07:00
Alejandro Murillo
7662ef83e5 Merge 2015-07-29 11:05:02 -07:00
Brian Burkhalter
7cd090f230 8065556: (bf) Buffer.position and other methods should include detail in IAE
Add messages to IAEs which have none.

Reviewed-by: alanb
2015-07-24 11:52:30 -07:00
Alejandro Murillo
6f041557c8 Merge 2015-07-24 00:54:07 -07:00
Xueming Shen
3d82fdcaad 8130914: java/util/zip/TestExtraTime.java fails with "java.lang.RuntimeException: setTime should make getLastModifiedTime return the specified instant: 3078282244456 got: 3078282244455"
Fixed the 32-bit overflow.

Reviewed-by: rriggs
2015-07-22 21:11:38 -07:00
Xueming Shen
47dbbc7b72 8075526: Need a way to read and write ZipEntry timestamp using local date/time without tz conversion
To add a pair of set/getTimeLocal()

Reviewed-by: ksrini, rriggs
2015-07-22 21:43:33 +00:00
Daniel D. Daugherty
c2255f8c9f 8075171: Contended Locking fast notify bucket
JEP-143/JDK-8073165 Contended Locking fast notify bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn, dice, dcubed
2015-07-21 07:29:10 -07:00
Sean Mullan
981dbca21a 8131486: SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates
Reviewed-by: weijun
2015-07-20 09:03:03 -04:00
Michael Haupt
d9cbd23d50 8062543: Replace uses of MethodHandleImpl.castReference with Class.cast
Reviewed-by: psandoz, vlivanov
2015-07-17 08:10:41 +02:00
Paul Sandoz
1bd70b71fc 8131052: Documentation of AbstractSpliterator refers to forEach rather than forEachRemaining
Reviewed-by: dfuchs
2015-07-16 14:39:16 +02:00
Brian Burkhalter
0ee4830a94 8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
Refine documentation of allocate*(), wrap(), slice(), duplicate(), asReadOnlyBuffer(), and as{Type}Buffer() to explcitly state the byte order of the created buffer.

Reviewed-by: alanb
2015-07-15 10:43:07 -07:00
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