7777 Commits

Author SHA1 Message Date
Thomas Schatzl
b2aec6eda3 8014890: (ref) Reference queues may return more entries than expected
When enqueuing references check whether the j.l.r.Reference has already been enqeued or removed in the lock. Do not enqueue them again. This occurs because multiple threads may try to enqueue the same j.l.r.Reference at the same time.

Reviewed-by: mchung, dholmes, plevart, shade
2013-07-08 14:05:59 +02:00
Valerie Peng
cc8c381257 Merge 2013-07-11 17:52:04 -07:00
Dan Xu
94e1bc3172 8017212: File.createTempFile requires unnecessary "read" permission
Directly call FileSystem method to check a file existence. Also reviewed by tom.hawtin@oracle.com

Reviewed-by: alanb
2013-07-11 13:40:25 -07:00
Kumar Srinivasan
20c1572bcd 8019799: api/java_util/jar/Pack200 test failed with compactX profiles
Reviewed-by: dholmes
2013-07-11 11:14:06 -07:00
Jaroslav Bachorik
ec6cb721e1 8010285: Enforce the requirement of Management Interfaces being public
Reviewed-by: sjiang, dfuchs, mchung
2013-07-11 21:11:03 +02:00
Valerie Peng
a4223b53c1 8020321: Problem in PKCS11 regression test TestRSAKeyLength
Corrected the "isValidKeyLength" array

Reviewed-by: xuelei
2013-07-11 11:43:23 -07:00
Athijegannathan Sundararajan
5a354fd6c7 7187144: JavaDoc for ScriptEngineFactory.getProgram() contains an error
Reviewed-by: mcimadamore, jlaskey, hannesw, attila
2013-07-11 18:50:25 +05:30
Doug Lea
841458107b 8019484: Sync j.u.c.ConcurrentHashMap from 166 to tl
Reviewed-by: martin
2013-07-11 13:07:47 +02:00
Jaroslav Bachorik
d7811f443c 8019826: Test com/sun/management/HotSpotDiagnosticMXBean/SetVMOption.java fails with NPE
Reviewed-by: sjiang, dholmes, mchung
2013-07-11 09:21:09 +02:00
Valerie Peng
ad9738a0be 8020310: JDK-6356530 broke the old build
Add serialVersionUID to AuthProvider and P11Key class.

Reviewed-by: xuelei
2013-07-10 18:14:35 -07:00
Jason Uh
4111a6d9e4 8020318: Fix doclint issues in java.net
Reviewed-by: darcy, khazra
2013-07-10 18:01:22 -07:00
Serguei Spitsyn
a809f3b3f0 8020308: Fix doclint issues in java.lang.management
Reviewed-by: darcy
2013-07-10 14:20:19 -07:00
Valerie Peng
7ac34a643a Merge 2013-07-09 15:26:20 -07:00
Brian Burkhalter
9123d3fed3 6480539: BigDecimal.stripTrailingZeros() has no effect on zero itself ("0.0")
Make stripTrailingZeros() return BigDecimal.ZERO if the BigDecimal is numerically equal to zero.

Reviewed-by: darcy
2013-07-09 12:47:37 -07:00
Brian Burkhalter
7816fc6dde 6178739: (fmt) Formatter.format("%0.4f\n", 56789.456789) generates MissingFormatWidthException
Change the field width specification to require a positive value. The exception is still thrown but that is now explicitly consistent with the specification.

Reviewed-by: darcy
2013-07-09 11:26:25 -07:00
Joe Darcy
20cc00ce2b 8020294: Fix doclint issues in java.util.Spliterator
Reviewed-by: psandoz
2013-07-10 11:05:39 -07:00
Paul Sandoz
cfbed70a62 8020040: Improve and generalize the F/J tasks to handle right or left-balanced trees
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: briangoetz
2013-07-10 10:24:38 +02:00
Paul Sandoz
b47a003232 8017447: Unmodifiable map entry becomes modifiable if taken from a stream of map entries
Reviewed-by: briangoetz
2013-07-10 09:52:02 +02:00
Weijun Wang
2241a3720d 8019267: NPE in AbstractSaslImpl when trace level >= FINER in KRB5
Reviewed-by: mullan
2013-07-10 15:11:32 +08:00
David Holmes
ddb13a825c 8016341: java/lang/ref/OOMEInReferenceHandler.java failing intermittently
Ensure WeakRef object can't be prematurely gc'd

Reviewed-by: chegar, plevart
2013-07-09 22:01:57 -04:00
Sean Coffey
411683f3a7 8019979: Replace CheckPackageAccess test with better one from closed repo
Reviewed-by: mullan
2013-07-09 16:00:41 +01:00
Doug Lea
4fd805da91 8019370: Sync j.u.c Fork/Join from 166 to tl
Reviewed-by: chegar, martin
2013-07-09 16:04:25 +02:00
Brian Goetz
320200e8b7 8019551: Make BaseStream public
Reviewed-by: chegar, psandoz
2013-07-09 10:44:49 +02:00
Paul Sandoz
2409f0944c 8017141: java.util/stream Spliterators from sequential sources should not catch OOME
Reviewed-by: mchung
2013-07-09 09:15:57 +02:00
Joe Darcy
0fb5272229 8020095: Fix doclint warnings in java.util.regex
Reviewed-by: mchung
2013-07-08 22:43:36 -07:00
Jason Uh
dfb135dd14 8020091: Fix HTML doclint issues in java.io
Reviewed-by: darcy
2013-07-08 19:24:22 -07:00
Valerie Peng
3af3e5bf85 Merge 2013-07-08 11:11:07 -07:00
Anthony Scarpino
bc2fd2fe9c 6755701: SunJCE DES/DESede SecretKeyFactory.generateSecret throws InvalidKeySpecExc if passed SecretKeySpec
Reviewed-by: valeriep, wetmore, xuelei
2013-07-08 10:20:46 -07:00
Erik Helin
6085f712f8 8010734: NPG: The test MemoryTest.java needs to be updated to support metaspace
Reviewed-by: alanb
2013-07-08 11:30:44 +02:00
Bradford Wetmore
2c7b97640d 8019341: Update CookieHttpsClientTest to use the newer framework
Reviewed-by: xuelei, smarks, michaelm
2013-07-05 18:22:58 -07:00
Lana Steuck
18748d45b6 Merge 2013-07-05 14:37:41 -07:00
Valerie Peng
c4932212fc 7196805: DH Key interoperability testing between SunJCE and JsafeJCE not successful
Check equality based on component values instead of encoding which may vary due to optional components

Reviewed-by: weijun
2013-07-05 13:56:12 -07:00
Valerie Peng
3c38993366 8012637: Adjust CipherInputStream class to work in AEAD/GCM mode
Ensure the Cipher.doFinal() is called only once

Reviewed-by: xuelei
2013-07-05 13:53:37 -07:00
Sean Mullan
9643931f86 Merge 2013-07-05 16:30:08 -04:00
Lana Steuck
23a17dfafa Merge 2013-07-05 13:28:17 -07:00
Sean Mullan
e8695e26e4 8011547: Update XML Signature implementation to Apache Santuario 1.5.4
Reviewed-by: xuelei
2013-07-05 15:54:42 -04:00
Shi Jun Zhang
2e28a006d8 8019381: HashMap.isEmpty is non-final, potential issues for get/remove
Reviewed-by: chegar, mduigou
2013-07-05 10:51:54 +08:00
Brian Goetz
fd97f9873a 8017231: Add StringJoiner.merge
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: psandoz, alanb
2013-07-04 20:00:20 +01:00
Alan Bateman
fac53ff2dc 8019622: (sl) ServiceLoader.next incorrect when creation and usages are in different contexts
Reviewed-by: mchung, ahgross, forax, psandoz
2013-07-04 14:38:44 +01:00
Brian Burkhalter
095614ee2c 8019862: Fix doclint errors in java.lang.*
Fix doclint errors in java.lang.*

Reviewed-by: darcy
2013-07-03 17:08:14 -07:00
Eric McCorkle
a58f094d40 8016285: Add java.lang.reflect.Parameter.isNamePresent()
Add isNamePresent method to parameter reflection library, which indicates whether or real parameter data is available

Reviewed-by: darcy
2013-07-03 19:47:15 -04:00
Brian Burkhalter
c70d472774 8019857: Fix doclint errors in java.util.Format*
Fix doclint errors in java.util.Format*.

Reviewed-by: darcy
2013-07-03 13:30:46 -07:00
Vinnie Ryan
93a8ac2246 Merge 2013-07-03 14:35:10 -07:00
Jason Uh
d0f08f7987 8019772: Fix doclint issues in javax.crypto and javax.security subpackages
Reviewed-by: darcy
2013-07-03 12:51:45 -07:00
Paul Sandoz
355205b8a5 8017329: 8b92-lambda regression: TreeSet("a", "b").stream().substream(1).parallel().iterator() is empty
Reviewed-by: alanb
2013-07-03 21:19:25 +02:00
Christian Thalinger
22d32e76ce 8019184: MethodHandles.catchException() fails when methods have 8 args + varargs
Reviewed-by: jrose
2013-07-03 11:35:06 -07:00
Johnny Chen
f530400e5c 8014497: [parfait] Potential null pointer dereference in jdk/src/share/native/sun/java2d/cmm/lcms/cmsgamma.c
Reviewed-by: bae, prr
2013-07-03 10:22:13 -07:00
Sergey Bylokhov
45d608aa5b 8004859: Graphics.getClipBounds/getClip return difference nonequivalent bounds, depending from transform
Reviewed-by: prr, flar
2013-07-03 19:00:10 +04:00
Doug Lea
1001452ba9 8019481: Sync misc j.u.c classes from 166 to tl
Reviewed-by: martin
2013-07-03 11:58:10 +02:00
Doug Lea
efb561f632 8011427: java.util.concurrent collection Spliterator implementations
Reviewed-by: martin
2013-07-03 11:58:09 +02:00