3515 Commits

Author SHA1 Message Date
Louis Wasserman
90aebf1cf9 7131192: BigInteger.doubleValue() is depressingly slow
In doubleValue() and floatValue() replace converting to String and parsing to Double or Float with direct conversion into IEEE 754 bits.

Reviewed-by: bpb, drchase, martin
2013-06-21 11:50:45 -07:00
Dmitry Nadezhin
f52ad64ccc 7192954: Fix Float.parseFloat to round correctly and preserve monotonicity
4396272: Parsing doubles fails to follow IEEE for largest decimal that should yield 0
7039391: Use Math.ulp in FloatingDecimal

Correct rounding and monotonicity problems in floats and doubles

Co-authored-by: Louis Wasserman <lowasser@google.com>
Reviewed-by: bpb, martin
2013-06-21 11:12:18 -07:00
Weijun Wang
af996219c7 8001326: Improve Kerberos caching
Reviewed-by: valeriep
2013-06-21 18:26:13 +08:00
Alan Bateman
a7f93a5480 8014377: (dc) DatagramChannel should set IP_MULTICAST_ALL=0 (lnx)
Reviewed-by: chegar, jzavgren
2013-06-20 19:14:30 +01: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
Mike Duigou
eb4f6b52dd Merge 2013-06-20 08:21:08 -07: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
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
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
Naoto Sato
2ea5ec5419 8015960: java/util/Locale/LocaleProviders.java failing again on Windows
Reviewed-by: alanb
2013-06-11 11:18:02 -07:00
Alan Bateman
6788137f6f Merge 2013-06-11 14:09:06 +01:00
Sergey Malenkov
857a99a9e7 8015336: BasicComboBoxEditor throws NullPointerException
Reviewed-by: alexsch
2013-06-11 16:02:22 +04:00
Martin Buchholz
fadbd21469 8016311: Update j.u.c. tests to avoid using Thread.stop(Throwable)
Reviewed-by: alanb
2013-06-11 11:25:59 +01:00
Alan Bateman
096a439d06 7059085: Retire Thread.stop(Throwable) so that it throws UOE
Reviewed-by: dholmes, chegar, forax, darcy, mduigou
2013-06-11 11:22:28 +01:00
Konstantin Shefov
1df3335d0d 7184908: TEST_BUG: [macosx] closed/com/sun/java/swing/plaf/gtk/4928019/bug4928019.java fails
Reviewed-by: alexsch, serb
2013-06-11 14:20:37 +04:00
Konstantin Shefov
1963dde59a 8012569: TEST_BUG: java/awt/GraphicsDevice/CheckDisplayModes.java fails
Reviewed-by: anthony, serb
2013-06-11 14:14:31 +04:00
Paul Sandoz
ee67107591 8015895: Int/LongStream.range/rangeClosed
8012986: Right-bias range spliterators for large ranges

Reviewed-by: mduigou
2013-06-11 12:13:26 +02:00
Dan Xu
41f703dac2 8013827: File.createTempFile hangs with temp file starting with 'com1.4'
8011950: java.io.File.createTempFile enters infinite loop when passed invalid data

Reviewed-by: alanb
2013-06-10 11:06:26 -07:00
Konstantin Shefov
3039fb09eb 7105030: [TEST_BUG] [macosx] The tests never finishes
Reviewed-by: alexsch, serb
2013-06-10 16:44:40 +04:00
Paul Sandoz
cde3ef7ba0 8015792: Rename Spliterators.spliteratorFromIterator to Spliterators.iterator
Reviewed-by: chegar
2013-06-10 12:26:20 +02:00
Paul Sandoz
350636532e 8015798: Rename IntStream.longs/doubles and LongStream.doubles to asXxxStream
Reviewed-by: alanb
2013-06-10 12:20:34 +02:00
Paul Sandoz
37d4e6871b 8015492: Remove DoubleStream.range methods
Reviewed-by: alanb
2013-06-10 11:52:32 +02:00
Kumar Srinivasan
4cc3613b7f 8016209: TEST_BUG: non-compliant jmc in the bin directory hangs testing
Reviewed-by: alanb, darcy, chegar
2013-06-08 09:05:49 -07:00
Coleen Phillimore
20641e00ab 7124706: enable RetransformBigClass.sh test when fix for 8013063 is promoted
The code for this test is fixed now and integrated to TL repo and it passes now.

Reviewed-by: alanb
2013-06-07 22:15:27 -04:00
Xueming Shen
de1f485bd6 8015728: (zipfs) demo/zipfs/basic.sh failing
To return the correct loc entry size from wirteLOC();

Reviewed-by: alanb
2013-06-07 13:49:37 -07:00
Kurchi Subhra Hazra
7153278427 7051862: CookiePolicy spec conflicts with CookiePolicy.ACCEPT_ORIGINAL_SERVER
Return false for null arguments in ACCEPT_ORIGINAL_SERVER#shouldAccept()

Reviewed-by: chegar
2013-06-07 10:59:41 -07:00
Patrick Reinhart
75e22e5c54 8013810: PrintServiceLookup.lookupPrintServices() does not return consistent result
Reviewed-by: prr, jgodinez
2013-06-07 10:26:29 -07:00
Andrew Brygin
34dc5002fd 6830714: cmm test failures with OpenJDK
Reviewed-by: prr
2013-06-07 14:45:29 +04:00
Masayoshi Okutsu
b5131a87e3 7064270: java/text/Format/DateFormat/WeekDateTest.java fails on OEL5.6 hi_IN.UTF-8
Reviewed-by: peytoia
2013-06-07 17:37:23 +09:00
Masayoshi Okutsu
f1d2e9ae5a 7177315: SimpleDateFormat parses wrong 2-digit year if input contains spaces
Reviewed-by: peytoia
2013-06-07 17:07:12 +09:00
Dmitry Markov
269ea64b67 8015853: java.lang.ArrayIndexOutOfBoundsException when running SwingSet2 demo
Reviewed-by: alexp, serb
2013-06-06 17:59:37 +04:00
Konstantin Shefov
1a56f32a4a 7109977: [macosx] MixingInHwPanel.java test fails on Mac trying to click in the reserved corner
Reviewed-by: serb, anthony
2013-06-06 17:06:22 +04:00
Konstantin Shefov
a20d06c4c1 8015976: OpenJDK part of bug JDK-8015812 [TEST_BUG] Tests have conflicting test descriptions
Reviewed-by: serb, anthony
2013-06-06 17:02:05 +04:00
Brian Burkhalter
a1fe63768f 7032154: Performance tuning of sun.misc.FloatingDecimal/FormattedFloatingDecimal
Performance improvements for double/float -> String and decimal/hex String -> double/float conversions.

Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Co-authored-by: Dmitry Nadezhin <dmitry.nadezhin@oracle.com>
Co-authored-by: Olivier Lagneau <olivier.lagneau@oracle.com>
Reviewed-by: martin, iris
2013-06-05 21:01:02 -07:00
Aleksej Efimov
9e29e5f3f0 8009579: Xpathexception does not honor initcause()
Reviewed-by: alanb, dholmes, joehw
2013-06-06 20:43:05 +04:00
Sean Coffey
a3d61f5a75 8000450: Restrict access to com/sun/corba/se/impl package
Reviewed-by: alanb, chegar, lancea
2013-06-06 14:10:44 +01:00
Lana Steuck
17b2b94a22 Merge 2013-06-05 12:31:59 -07:00
Lana Steuck
85653af175 Merge 2013-06-05 12:30:02 -07:00
Lana Steuck
1ba27fe015 Merge 2013-06-05 09:52:41 -07:00
Lana Steuck
eb1aa4d2f9 Merge 2013-06-05 09:16:24 -07:00
Frederic Parain
f405277c72 7150256: Add back Diagnostic Command JMX API
Reviewed-by: mchung, jbachorik
2013-06-05 08:41:02 -07:00
Chris Hegarty
8b35e25262 8011719: Properties.loadFromXML fails with a chunked HTTP connection
Reviewed-by: michaelm
2013-06-05 16:06:28 +01:00
Dmitry Samersoff
ee8568fe00 8015604: JDP packets containing ideographic characters are broken
Code uses string length rather than byte array length and non ascii entry brakes packet.

Reviewed-by: dholmes, jbachorik, sla
2013-06-05 18:20:34 +04:00
Sergey Malenkov
332b758ab0 8013370: Null pointer exception when adding more than 9 accelators to a JMenuBar
Reviewed-by: serb
2013-06-05 18:15:58 +04:00
Lana Steuck
33b1694a1b Merge 2013-06-05 00:37:11 -07:00
Lana Steuck
cb1ba62512 Merge 2013-06-03 23:23:20 -07:00
Anton Litvinov
fb8bd30b8e 6337518: Null Arrow Button Throws Exception in BasicComboBoxUI
Reviewed-by: alexp, alexsch
2013-06-03 16:37:13 +04:00
Jose Luis Martin
8c13d6cecf 8015500: Prevent sending multiple WINDOW_CLOSED events for already disposed windows
Reviewed-by: anthony, serb
2013-06-03 16:27:44 +04:00
Anton Litvinov
8db7e02270 7151823: The test incorrectly recognizing OS
Reviewed-by: serb, alexp
2013-06-03 14:05:55 +04:00