830 Commits

Author SHA1 Message Date
Alejandro Murillo
ddb63861a3 Merge 2015-08-04 22:02:12 -07: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
Kim Barrett
8bfa163a68 8132306: java/lang/ref/ReferenceEnqueue.java fails with "RuntimeException: Error: poll() returned null; expected ref object"
Carefully order ref.queue and queue list updates to address races.

Reviewed-by: dholmes, dfuchs, plevart
2015-08-04 17:26:14 -04:00
Alejandro Murillo
5a76b5c4e6 Merge 2015-08-04 10:59:31 -07:00
Naoto Sato
9166dacb21 8129881: JDK-8008577 breaks Nashorn test
8130845: Change to CLDR Locale data in JDK 9 b71 causes SimpleDateFormat parsing errors
8132125: German (Switzerland) formatting broken if CLDR Locale Data is used

Reviewed-by: tbell, okutsu
2015-08-03 21:47:50 -07:00
Iris Clark
959eee3901 Merge 2015-08-03 09:26:18 -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
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
Vinnie Ryan
86c8964df3 8131291: Perfect parameter patterning
Reviewed-by: mullan
2015-07-24 16:47:15 +01: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
Iris Clark
636d3c2d95 Merge 2015-07-23 13:19:54 -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
Iris Clark
89a565ccd0 Merge 2015-07-20 11:01:24 -07:00
Iris Clark
3542628ec7 8130696: Security Providers need to have their version numbers updated for JDK 9
Reviewed-by: ascarpino, mullan, valeriep, weijun, wetmore
2015-07-20 09:40:49 -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
Xue-Lei Andrew Fan
a9da78ecd7 8081760: Better group dynamics
Allows user to specify custom DH groups. Also reviewed by Alexander Fomin <alexander.fomin@oracle.com>.

Reviewed-by: coffeys, mullan, weijun, jnimeh, ahgross, asmotrak
2015-07-20 01:45:23 +00: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