Commit Graph

18189 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
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
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
Chris Hegarty
adc454c0fe Merge 2013-06-19 13:03:03 +01:00
Chris Hegarty
f0b9acadba Merge 2013-06-19 11:49:16 +01:00
Chris Hegarty
c3b4a84026 8017044: anti-delta fix for 8015402
Reviewed-by: alanb
2013-06-19 11:47:14 +01:00
Chris Hegarty
816efc70e6 Merge 2013-06-19 11:04:39 +01:00
Xue-Lei Andrew Fan
1ead1fc8bc 7188658: Add possibility to disable client initiated renegotiation
Reviewed-by: weijun, wetmore
2013-06-19 02:33:07 -07:00
Michael Fang
9dbb5efc0d 8015657: jdk8 l10n resource file translation update 3
Reviewed-by: yhuang
2013-06-18 21:08:48 -07:00
Xue-Lei Andrew Fan
7384a4704e 8000456: Add programmatic deadlock detection in SSLEngineDeadlock
Reviewed-by: wetmore
2013-06-18 18:50:13 -07:00
Mike Duigou
4eeb7e8bc5 8016446: Improve forEach/replaceAll for Map, HashMap, Hashtable, IdentityHashMap, WeakHashMap, TreeMap, ConcurrentMap
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Reviewed-by: forax, mduigou, psandoz
2013-06-18 16:03:10 -07:00
Mike Duigou
6c9370029a Merge 2013-06-18 14:11:45 -07:00
Brian Burkhalter
66bcedaa7a 8015395: NumberFormatException during startup if JDK-internal property java.lang.Integer.IntegerCache.high set to bad value
Fall back to default if a bad value is passed for this property.

Reviewed-by: mduigou
2013-06-18 11:36:39 -07:00
Chris Hegarty
c7a4e7e7fa Merge 2013-06-18 16:08:46 +01:00
Alexey Utkin
857e168f7a 8016046: (process) Strict validation of input should be security manager case only [win]
Reviewed-by: alanb, ahgross
2013-06-18 17:19:49 +04:00
Chris Hegarty
9735594f15 Merge 2013-06-18 09:39:25 +01:00
Robert Field
8be22cce2d 8015402: Lambda metafactory should not attempt to determine bridge methods
Paired with 8013789: Compiler should emit bridges in interfaces

Reviewed-by: twisti
2013-06-17 20:31:04 -07:00
Deven You
c778d84388 8014620: Signature.getAlgorithm return null in special case
Reviewed-by: wetmore
2013-06-17 17:36:20 -07:00
Aleksey Shipilev
0dcdb3b3fa 7177472: JSR292: MethodType interning penalizes scalability
Reviewed-by: twisti
2013-06-17 16:24:48 -07:00
Chris Hegarty
4f4fdb4ff1 Merge 2013-06-17 14:23:01 +01:00
Chris Hegarty
a2e706f340 8016747: Replace deprecated PlatformLogger isLoggable(int) with isLoggable(Level)
Reviewed-by: darcy
2013-06-17 14:09:25 +01:00
Aleksey Shipilev
9821ebcba7 8016236: Class.getGenericInterfaces performance improvement
Cache more reflective data and lookup results.

Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: alanb, plevart, psandoz, dl
2013-06-17 16:28:22 +04:00
Chris Hegarty
5864e2de68 Merge 2013-06-17 11:26:16 +01:00
Lana Steuck
fd982c6d3d Merge 2013-06-16 22:36:41 -07:00
Chris Hegarty
8322464f71 8012156: tools/javac/file/zip/T6865530.java fails for win32/64 in 7u25 nightly runs
Reviewed-by: alanb
2013-06-14 16:38:13 +01:00
Alejandro Murillo
ca3d100365 Merge 2013-06-14 07:26:49 -07:00
Aleksej Efimov
52cfa3dc50 8015978: Incorrect transformation of XPath expression "string(-0)"
Reviewed-by: darcy, joehw
2013-06-14 15:14:56 +04:00
John Zavgren
48a8955ad6 8014307: Memory leak ... security/jgss/wrapper/GSSLibStub.c
I modified the native procedure: Java_sun_security_jgss_wrapper_GSSLibStub_initContext() so that allocated memory is freed when errors occur.

Reviewed-by: chegar, valeriep
2013-06-14 09:13:03 -04:00
Kurchi Subhra Hazra
eb00b0e4f3 7169142: CookieHandler does not work with localhost
Add .local to derived effective hostnames without dot

Reviewed-by: chegar
2013-06-13 17:48:11 -07:00
Kurchi Subhra Hazra
310a5ee8e5 8015421: NegativeArraySizeException occurs in ChunkedOutputStream() with Integer.MAX_VALUE
Ensure integer overflow does not occur

Reviewed-by: chegar
2013-06-13 11:23:00 -07:00
David Katleman
343d4c4856 Added tag jdk8-b94 for changeset 166c25c5681e 2013-06-13 09:48:58 -07:00
J. Duke
3e0356fb8d Merge 2017-07-05 18:59:08 +02:00
J. Duke
11e84e1669 Merge 2017-07-05 18:59:05 +02:00
J. Duke
ff4b3de36b Merge 2017-07-05 18:58:59 +02:00