648 Commits

Author SHA1 Message Date
Jiangli Zhou
47e90bb79c Merge 2015-07-31 16:00:29 -04:00
Alejandro Murillo
972e5ce0a3 Merge 2015-07-31 10:15:03 -07: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
Alexander Stepanov
48e1903790 8132130: some docs cleanup
Some docs cleanup

Reviewed-by: mullan
2015-07-31 15:07:18 +03: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
Dmitry Samersoff
47bdec1c0e 8059036: Implement Diagnostic Commands for heap and finalizerinfo
Implement Diagnostic Commands for heap and finalizerinfo

Reviewed-by: sla, plevart, mchung
2015-07-30 16:29:13 +03: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
Jaroslav Bachorik
aa572f2749 Merge 2015-07-24 20:45:30 +02:00
Harold Seigel
4496a599b2 8081695: Old verifier fails to reject bad access to protected <init> method
Remove the class file version check that prevented the proper access check

Reviewed-by: coleenp, gtriantafill, lfoltan
2015-07-24 10:03:58 -04:00
Alejandro Murillo
6f041557c8 Merge 2015-07-24 00:54:07 -07:00
Harold Seigel
781e67c86c 8129897: Old verifier fails to reject erroneous cast from boolean[] to byte[]
Add ITEM_Boolean enum to differentiate between arrays of booleans and arrays of bytes

Reviewed-by: dholmes, lfoltan
2015-07-23 08:44:37 -04: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
Yong Jeffrey Huang
7e1ed8f785 8129361: ISO 4217 amendment 160
Reviewed-by: naoto
2015-07-29 23:36:51 -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
Volker Simonis
520ba7be6c 8132475: The commands in the modular images are executable by the owner only (once again)
Reviewed-by: rriggs, alanb
2015-07-29 11:47:19 +02: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
Jean-Francois Denise
8f15d5a0c2 8132335: jimage tool extract and recreate options are not consistent
Incorrect fileName formatting. Replaced with getFileName() + removal of .jimage extension.

Reviewed-by: jlaskey
2015-07-24 18:57:04 +02: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
Alejandro Murillo
d6317b6e29 Merge 2015-07-21 09:19:19 -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
Alejandro Murillo
3d85a9c2c4 Merge 2015-07-17 08:46:54 -07:00
Sean Coffey
d2ce08a27a 8131665: Bad exception message in HandshakeHash.getFinishedHash
Reviewed-by: xuelei
2015-07-17 10:37:25 +01: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
Henry Jen
d43f91586c Merge 2015-07-15 06:42:49 -07:00
Jean-Francois Denise
a3beb77c27 8131317: Image writer throws NPE when creating compact profile images
Metadata added to jimage was not handling empty jimage correctly.

Reviewed-by: alanb
2015-07-15 14:44:52 +02: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
David Dehaven
267d60654e Merge 2015-07-14 15:18:26 -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
Xue-Lei Andrew Fan
a80c4c9493 8130461: HandshakeStatus.NEED_UNWRAP_AGAIN applies only to DTLS
Reviewed-by: wetmore
2015-07-14 00:53:09 +00:00
Jean-Francois Denise
bff48ef15d 8130344: assert(handle != __null) failed: JNI handle should not be null' in jni_GetLongArrayElements
Check JNI NewArray for NULL value

Reviewed-by: lfoltan, alanb, dholmes
2015-07-13 14:05:17 +01:00
Alejandro Murillo
867e029083 Merge 2015-07-09 22:46:18 -07:00
Daniel D. Daugherty
fd67ab1042 Merge 2015-07-09 14:48:12 -07:00
Henry Jen
eaa42993db 8027634: Support @argfiles for java command-line tool
Reviewed-by: ksrini, mchung
2015-07-08 23:26:48 -07:00
David Dehaven
79324abda0 Merge 2015-07-07 12:26:59 -07:00
Daniel D. Daugherty
10219ee9a2 Merge 2015-07-03 07:13:24 -07:00
Artem Smotrakov
aa2d62b688 8129444: socksProxyVersion system property ignored for Socket(Proxy)
Reviewed-by: chegar
2015-07-03 08:00:33 +01: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
Daniel D. Daugherty
bee43f05d7 Merge 2015-07-02 14:39:54 -07:00
Volker Simonis
48aacbe3f9 8130315: Fix wrong prototype of GrowKnownVMs() in java.c
Reviewed-by: alanb, ksrini
2015-07-02 15:25:46 +02:00
Andrew Haley
eb4655db3e Merge 2015-07-02 11:03:50 +01:00