Commit Graph

7630 Commits

Author SHA1 Message Date
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
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
Vinnie Ryan
118272d2e9 7165807: Non optimized initialization of NSS crypto library leads to scalability issues
Reviewed-by: mullan, valeriep
2013-07-02 16:38:09 -07:00
Mandy Chung
5a360a7579 8007035: deprecate public void SecurityManager.checkMemberAccess(Class<?> clazz, int which)
Reviewed-by: jrose, alanb, dfuchs
2013-07-02 15:58:09 -07:00
David Katleman
f1082cda65 Merge 2013-07-02 15:55:55 -07:00
Lana Steuck
8a261ad520 Merge 2013-07-02 15:23:23 -07:00
Lana Steuck
5facdba813 Merge 2013-07-02 15:20:55 -07:00
Phil Race
467296964c 8019692: JDK build CC_OPT_HIGHEST setting isn't valid for Sun C++ compiler
Reviewed-by: jgodinez
2013-07-02 14:25:56 -07:00
Daniel Fuchs
5f717a6674 7184195: java.util.logging.Logger.getGlobal().info() doesn't log without configuration
Due to subtle synchronization issues between LogManager & Logger class initialization the global logger doesn't have its 'manager' field initialized until the LogManager is initialized. This fix will ensure that the global logger has its 'manager' field set when getGlobal() is called.

Reviewed-by: mchung, plevart
2013-07-02 19:47:58 +02:00
Kumar Srinivasan
bd5975ceec 8017463: [TEST_BUG] 2 tests from tools/pack200/ remain about 1 GB of data in work directory after execution
Reviewed-by: mchung
2013-07-02 05:28:31 -07:00
Erik Helin
66ab4f9471 8019500: Exclude MemoryTest.java and MemoryTestAllGC.sh to enable integration
Reviewed-by: erikj, alanb
2013-07-02 13:06:50 +02:00
Daniel Fuchs
677643324e 8017174: NPE when using Logger.getAnonymousLogger or LogManager.getLogManager().getLogger
This patch makes sure that LoggerContext instances created for applets have a root and global logger.

Reviewed-by: mchung
2013-07-02 11:30:31 +02:00
Jason Uh
200428aa69 8019539: Fix doclint errors in java.security and its subpackages
Reviewed-by: darcy
2013-07-01 17:46:12 -07:00
Joe Darcy
a0fa326cb4 8019535: Fix doclint issues in java.time.format
Reviewed-by: lancea, rriggs
2013-07-01 14:33:08 -07:00
Joe Darcy
6db4640708 8019529: Fix doclint issues in java.util.spi
Reviewed-by: lancea
2013-07-01 13:42:03 -07:00
Joe Darcy
04e9fa3289 8019527: Fix doclint issues in java.lang.instrument
Reviewed-by: lancea, alanb
2013-07-01 13:29:32 -07:00
Phil Race
71a1e79eeb 8015144: Performance regression in ICU OpenType Layout library
Reviewed-by: srl, jgodinez
2013-07-01 12:39:26 -07:00
Peter Levart
329abc4028 8017540: Improve multi-threaded contention behavior of radix conversion cache
Replace array of ArrayList of BigIntegers with a volatile two-dimensional BigInteger array eliminate the synchronization of getRadixConversionCache()

Co-authored-by: Dmitry Nadezhin <dmitry.nadezhin@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Reviewed-by: plevart, shade, bpb, alanb
2013-07-01 11:30:14 -07:00
Vinnie Ryan
53ecefacac 8019259: Failover to CRL checking does not happen if wrong OCSP responder URL is set
Reviewed-by: xuelei
2013-07-01 14:39:47 +01:00
Daniel Fuchs
7addcb118b 8014045: test/java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java failing intermittently
This test was failing because it didn't take into account the fact that Loggers could be garbage collected.

Reviewed-by: mchung
2013-07-01 11:13:56 +02:00
Joe Darcy
8de97d93a0 8019467: Fix doclint issues in java.util.jar.Pack200
Reviewed-by: lancea, ksrini
2013-06-30 17:15:47 -07:00
Joe Darcy
60782578cb 8019466: Fix doclint issues in java.util.function
Reviewed-by: briangoetz
2013-06-30 16:02:11 -07:00
Lance Andersen
607de236dc 8019286: Fix javadoc typo in ResultSet.next
Reviewed-by: darcy, mchung
2013-06-29 06:12:28 -04:00
Lana Steuck
c4c235dc4a Merge 2013-06-28 19:46:18 -07:00
Lana Steuck
0e912d560f Merge 2013-06-28 19:37:48 -07:00
Lana Steuck
cf72044ebb Merge 2013-06-28 18:06:26 -07:00
David Katleman
78425fd8da 8019347: JDK8 b96 source with GPL header errors
Reviewed-by: iris, alanb, lancea
2013-06-28 16:26:36 -07:00
Alan Bateman
6084db7277 8019384: jps and jcmd tests fail when there is a process started with a .war file
Reviewed-by: dcubed, sla, mchung
2013-06-28 19:45:06 +01:00
Joe Darcy
da1d369ffe 8019407: Fix doclint issues in javax.naming.*
Reviewed-by: lancea
2013-06-28 11:35:36 -07:00
Jason Uh
0b7143c3ee 8019360: Cleanup of the javadoc <code> tag in java.security.*
Convert to {@code ...} tags. convert package.html to package-info.java.

Reviewed-by: darcy
2013-06-28 10:48:02 -07:00
Chris Hegarty
d469f38970 Merge 2013-06-28 16:39:15 +01:00
John Zavgren
0faa9a064f 8015799: HttpURLConnection.getHeaderFields() throws IllegalArgumentException
Reviewed-by: chegar, dsamersoff, khazra
2013-06-28 16:38:09 +01:00
Alan Bateman
8002fd8cbf 8019380: doclint warnings in java.nio, java.nio.file.**, java.nio.channels.**
Reviewed-by: chegar
2013-06-28 16:10:23 +01:00
Dmitry Markov
681764bad0 8016534: javax/swing/text/View/8014863/bug8014863.java failed
Reviewed-by: alexp, alexsch
2013-06-28 18:32:20 +04:00
Doug Lea
4535f67d05 8019377: Sync j.u.c locks and atomic from 166 to tl
Reviewed-by: chegar
2013-06-28 12:12:37 +01:00
Doug Lea
0eb360620b 8017739: ReentrantReadWriteLock is confused by the Threads with reused IDs
Reviewed-by: chegar
2013-06-28 12:10:18 +01:00
Paul Sandoz
27da77ce6b 8012987: Optimizations for Stream.limit/substream
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-06-28 10:29:21 +02:00
David Katleman
c3b9b19f91 Added tag jdk8-b96 for changeset 627400b6bdcf 2013-06-27 13:40:29 -07:00
Petr Pchelko
13f301694b 8019236: [macosx] Add javadoc to the handleWindowFocusEvent in CEmbeddedFrame
Reviewed-by: serb, ant
2013-06-27 13:56:16 +04:00
David Katleman
a744eb3dcb 8016684: JDK8 b94 source with GPL header errors
Reviewed-by: tbell, darcy
2013-06-26 11:26:18 -07:00
Staffan Larsen
7b09b9e85a 8019155: Update makefiles with correct jfr packages
Reviewed-by: mgronlun, erikj
2013-06-26 19:15:34 +02:00
Vadim Pakhnushev
84a34cfcf1 8016254: several sun/java2d/OpenGL tests failed with SIGFPE
Reviewed-by: prr, bae
2013-06-26 13:49:16 +04:00
David Katleman
20afdff460 Merge 2013-06-25 13:49:41 -07:00
Erik Joelsson
ce1f93f183 8017480: Move copying of jfr files to closed makefile
Reviewed-by: sla, tbell
2013-06-25 09:25:16 +02:00
Lana Steuck
7d6cc74108 Merge 2013-06-24 14:28:20 -07:00
Anton Litvinov
8b4ab0bb1e 8007642: Media Names on Java Print Do Not Match the Printer’s and Confuse Users
Reviewed-by: prr, jgodinez
2013-06-21 21:30:12 +04:00
Sergey Malenkov
10e6614da0 8016545: java.beans.XMLEncoder.writeObject output is wrong
Reviewed-by: alexsch
2013-06-21 17:13:43 +04:00
Chris Hegarty
92d31ec9c3 8014499: MulticastSocket should enable IP_MULTICAST_ALL (lnx)
Co-authored-by: John Zavgren <john.zavgren@oracle.com>
Reviewed-by: alanb, chegar
2013-06-20 18:53:57 +01:00
David Katleman
d5569033f3 Added tag jdk8-b95 for changeset b537ef8da8d5 2013-06-20 10:17:29 -07:00
Mike Duigou
eb4f6b52dd Merge 2013-06-20 08:21:08 -07:00
Leonid Romanov
4fb1e1757a 8014264: The applet pathguy_TimeDead throws java.lang.NullPointerException in java console once click drop-down check box
Reviewed-by: art, anthony, serb
2013-06-20 18:50:55 +04:00
Xue-Lei Andrew Fan
b0246ef1ae 8017157: catch more exception in test RejectClientRenego
Reviewed-by: vinnie
2013-06-20 07:48:49 -07:00
Mike Duigou
3377e0da57 8017088: Map/HashMap.compute() incorrect with key mapping to null value
Reviewed-by: dl, dholmes, plevart
2013-06-20 07:23:51 -07:00
Paul Sandoz
338bfbd857 8016139: PrimitiveIterator.forEachRemaining
Reviewed-by: alanb
2013-06-20 11:21:13 +02:00
Paul Sandoz
6cb8fc5c5f 8016455: Sync stream tests from lambda to tl
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-06-20 11:15:23 +02:00
Brian Goetz
ae0d33346e 8016324: filter/flatMap pipeline sinks should pass size information to downstream sink
Reviewed-by: chegar, mduigou
2013-06-20 11:02:28 +02:00
Paul Sandoz
434bea45ac 8016308: Updates to j.u.stream.Node/Nodes
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-06-20 10:45:46 +02:00
Lana Steuck
5ab44a5a66 Merge 2013-06-19 18:30:21 -07:00
Lana Steuck
8e2407bb87 Merge 2013-06-19 17:59:09 -07:00
Lana Steuck
1cfbb08fa7 Merge 2013-06-19 17:57:12 -07:00
Andreas Rieber
1f4dfcf422 7025238: HttpURLConnection does not handle URLs with an empty path component
Prepend a '/' to file when path is empty

Reviewed-by: chegar, khazra
2013-06-19 17:41:12 -07:00
Kurchi Subhra Hazra
0534c089d6 8016698: Cleanup overrides warning in sun/tools/ClassDeclaration.java
Override Object.hashCode()

Reviewed-by: alanb, chegar
2013-06-19 14:13:41 -07:00
Kurchi Subhra Hazra
ffbad7e9cb 8016576: Overrides warnings in jdi and jconsole
Implement hashCode() in classes emitting warnings

Reviewed-by: alanb, chegar
2013-06-19 14:02:38 -07:00
Dan Xu
cac8a15196 8016592: Clean-up Javac Overrides Warnings In javax/management/NotificationBroadcasterSupport.java
Add hashCode() methods to ListenerInfo and WildcardListenerInfo classes

Reviewed-by: dfuchs, alanb, sjiang, chegar
2013-06-19 13:00:53 -07:00
Chris Hegarty
410ff42dee Merge 2013-06-19 17:32:08 +01:00
Alan Eliasen
3a76795991 4837946: Faster multiplication and exponentiation of large integers
4646474: BigInteger.pow() algorithm slow in 1.4.0

Implement Karatsuba and 3-way Toom-Cook multiplication as well as exponentiation using Karatsuba and Toom-Cook squaring.

Reviewed-by: alanb, bpb, martin
2013-06-19 08:59:39 -07:00
Chris Hegarty
a66a268679 8017057: More ProblemList.txt updates (6/2013)
Reviewed-by: alanb
2013-06-19 15:58:21 +01:00