Commit Graph

5819 Commits

Author SHA1 Message Date
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
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
Brian Goetz
e11ec149ce 8015318: Extend Collector with 'finish' operation
Reviewed-by: mduigou
2013-06-28 16:26:54 -04:00
Joe Darcy
10f964a324 8022406: Fix doclint issues in java.beans
Reviewed-by: prr
2013-08-06 16:01:39 -07:00
Dan Xu
bcf263eb10 8022410: Fix Javac Warnings in com.sun.security.auth Package
Reviewed-by: darcy
2013-08-06 14:33:56 -07:00
Stuart Marks
6c4cb95171 8022440: suppress deprecation warnings in sun.rmi
Reviewed-by: mduigou
2013-08-06 14:24:05 -07:00
Jason Uh
6ecdd925d1 8022443: Fix lint warnings in sun.security.pkcs12
Reviewed-by: darcy
2013-08-06 14:10:06 -07:00
Jason Uh
ebb9d2fb06 8022439: Fix lint warnings in sun.security.ec
Reviewed-by: darcy
2013-08-06 13:46:15 -07:00
Marcus Lagergren
cd162a777d 8022412: Fixed warnings in java.util root, except for HashMap
Reviewed-by: mduigou, darcy
2013-08-06 12:56:18 -07:00
Joe Darcy
ae54a3c965 8022174: Fix doclint warnings in javax.sound
8022404: Fix doclint issues in java.applet

Reviewed-by: prr
2013-08-06 13:25:04 -07:00
Sean Mullan
a3b4abc14b Merge 2013-08-06 08:34:28 -07:00
Sean Mullan
78255f5c55 8022120: JCK test api/javax_xml/crypto/dsig/TransformService/index_ParamMethods fails
TransformService.init and marshalParams must throw NullPointerException when parent parameter is null

Reviewed-by: xuelei
2013-08-06 08:31:24 -07:00
Dmitry Samersoff
b65847a206 8011038: sourceObj validation during desereliazation of RelationNotification should be relaxed
SourceObj could be set to null by setSource() relax a validation of deserialized object.

Reviewed-by: sjiang, skoivu, dfuchs
2013-08-06 14:04:49 +04:00
Stuart Marks
c05c2330cf 8020854: change RMI javadocs to specify that remote objects are exported to the wildcard address
Reviewed-by: rgallard, alanb
2013-08-05 19:12:33 -07:00
Andreas Rieber
bdc36d78a1 8016531: jconsole-plugin script demo does not work with nashorn
Reviewed-by: lagergren, hannesw
2013-08-05 21:31:40 +05:30
Joe Darcy
2be7768ab0 8022190: Fix varargs lint warnings in the JDK
Reviewed-by: alanb, lancea, alexsch
2013-08-05 07:50:16 -07:00
Brent Christian
b661fb4e1a 8011194: Apps launched via double-clicked .jars have file.encoding value of US-ASCII on Mac OS X
On Mac, default to UTF-8 if no environmental hints are available

Reviewed-by: naoto, ddehaven
2013-08-02 15:30:11 -07:00
Brian Burkhalter
2c31d993a4 6476168: (fmt) Inconsistency formatting subnormal doubles with hexadecimal conversion
Update specification to match implementation.

Reviewed-by: darcy
2013-07-31 10:53:33 -07:00
Sean Mullan
575679c789 Merge 2013-08-02 09:38:13 -04:00
Doug Lea
b1a10b8ed7 8020291: j.u.c.CompletionStage
8020435: CompletableFuture/Basic.java fails on single core machine

Reviewed-by: chegar, psandoz
2013-08-02 14:29:31 +01:00
Sean Mullan
7474815db8 Merge 2013-08-02 08:37:25 -04:00
Sean Mullan
0844d3e77b 8001319: Add SecurityPermission "insertProvider" target name
Reviewed-by: vinnie
2013-08-02 08:30:46 -04:00
Alexey Utkin
b456dfe629 8020191: System.getProperty("os.name") returns "Windows NT (unknown)" on Windows 8.1
Reviewed-by: alanb, khazra, chegar
2013-08-02 13:16:43 +04:00
Weijun Wang
9688bbb771 8021789: jarsigner parses alias as command line option (depending on locale)
Reviewed-by: vinnie
2013-08-02 08:59:37 +08:00
Paul Sandoz
3e78508945 8020016: Numerous splitereator impls do not throw NPE for null Consumers
Reviewed-by: mduigou, alanb, henryjen
2013-08-01 15:28:57 +01:00
Doug Lea
98fb15899e 8022087: Fix doclint issues in j.u.Deque & Queue
Reviewed-by: chegar, darcy
2013-08-01 16:53:40 +01:00
Xue-Lei Andrew Fan
b431c6929d 7127524: P11TlsPrfGenerator has anonymous inner class with serialVersionUID
Reviewed-by: vinnie
2013-08-01 07:34:30 -07:00
Ivan Gerasimov
ebe38d6cdc 8020669: (fs) Files.readAllBytes() does not read any data when Files.size() is 0
Reviewed-by: alanb, chegar, martin, rriggs
2013-07-29 12:35:42 +04:00
Ivan Gerasimov
e1b3c5b5ba 7192942: (coll) Inefficient calculation of power of two in HashMap
Reviewed-by: mduigou
2013-07-30 21:11:08 +04: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
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
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
Vadim Pakhnushev
84a34cfcf1 8016254: several sun/java2d/OpenGL tests failed with SIGFPE
Reviewed-by: prr, bae
2013-06-26 13:49:16 +04: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
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
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
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
Petr Pchelko
d792da6ac6 8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c
8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c
8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c

Reviewed-by: art, serb
2013-06-19 17:12:23 +04: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
Sergey Malenkov
f94d68550a 8013442: No file filter selected in file type combo box when using JFileChooser
Reviewed-by: alexsch
2013-06-19 14:28:44 +04: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
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
Phil Race
11aa764a6f 8015334: Memory leak when kerning is used on Windows
Reviewed-by: srl, bae
2013-06-17 10:34:24 -07:00
Sergey Malenkov
153bde4dbb 8013571: TreeModelEvent doesn't accept "null" for root as Javadoc specifies
Reviewed-by: alexsch
2013-06-17 18:30:49 +04: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
Lana Steuck
8d0c9d52e8 Merge 2013-06-14 11:10:00 -07:00
Lana Steuck
25b7910613 Merge 2013-06-14 10:41:45 -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
Anton Tarasov
0e763b1f06 8014821: Regression: Focus issues with Oracle WebCenter Capture applet
Reviewed-by: leonidr
2013-06-14 16:38:18 +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
Phil Race
f02741a5a8 8016485: Windows native print dialog does not reflect default printer settings
Reviewed-by: jgodinez, jchen
2013-06-13 13:02:37 -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
Anton Litvinov
21b8cd749b 6847588: AWT test fails
Reviewed-by: anthony, serb
2013-06-13 18:46:17 +04:00
Paul Sandoz
aed188663e 8016251: Balanced spliterator for SpinedBuffer
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: mduigou
2013-06-13 11:13:30 +02:00
Petr Pchelko
d99233cab7 8013468: [macosx] Cursor does not update properly when in fullscreen mode on Mac
Reviewed-by: anthony, serb
2013-06-13 11:10:29 +04:00
Yong Jeffrey Huang
cd61a1e1a5 7040556: SimpleDateFormat.format Portuguese Month should not be capitalized
Reviewed-by: okutsu
2013-06-12 23:54:55 -07:00
Weijun Wang
77e684366c 8014310: JAAS/Krb5LoginModule using des encytypes failure with NPE after JDK-8012679
Reviewed-by: valeriep
2013-06-13 09:59:29 +08:00
Brent Christian
e19945c794 8010325: Remove hash32() method and hash32 int field from java.lang.String
Reviewed-by: alanb, mduigou
2013-06-12 11:11:59 -07:00
Anton Tarasov
861f05be2f 8015454: java/awt/Focus/TypeAhead/TestFocusFreeze.java hangs with jdk8 since b56
Reviewed-by: anthony
2013-06-12 16:18:04 +04:00
Alan Bateman
fdab7e6338 8016370: javadoc warnings, unexpected </p> mostly
Reviewed-by: martin, jjg
2013-06-12 08:04:11 +01:00
Henry Jen
411df5ec90 8009736: Comparator API cleanup
Reviewed-by: psandoz, briangoetz, mduigou, plevart
2013-06-11 13:41:38 -07:00
Xue-Lei Andrew Fan
154d88d2bd 8019359: To comment why not use no_renegotiation to reject client initiated renegotiation
Reviewed-by: wetmore
2013-06-27 19:22:51 -07:00
Joe Darcy
0e32f67d95 8019357: Fix doclint warnings in java.lang.invoke
Reviewed-by: jrose
2013-06-27 19:02:02 -07:00
Naoto Sato
eb278c1a27 6609431: (rb) ResourceBundle.getString() returns incorrect value
Reviewed-by: okutsu, sherman
2013-06-27 14:40:21 -07:00
Joe Darcy
ff500d6201 8019320: Fix doclint issues in javax.script
Reviewed-by: lancea
2013-06-27 14:11:25 -07:00
Stuart Marks
c421a2d9b7 8019224: add exception chaining to RMI CGIHandler
Reviewed-by: darcy
2013-06-27 13:35:01 -07:00
Joe Darcy
a8bb269e47 8019315: Fix doclint issues in java.util.logging
Reviewed-by: lancea
2013-06-27 12:24:26 -07:00
Lance Andersen
f693157806 8017471: Fix JDBC -Xdoclint public errors
Reviewed-by: darcy
2013-06-27 15:07:56 -04:00
Joe Darcy
50e05b177d 8019304: Fix doclint issues in java.util.prefs
Reviewed-by: lancea
2013-06-27 11:06:46 -07:00
Joe Darcy
c9e713d562 8019228: Fix doclint issues in java.util.zip
Reviewed-by: sherman, mchung
2013-06-26 22:12:09 -07:00
Joe Darcy
5837f1387b 8019223: Fix doclint warnings in java.rmi.server
Reviewed-by: smarks
2013-06-26 19:09:18 -07:00
Joe Darcy
4d367e8fbb 7018139: Fix HTML accessibility and doclint issues in java.math
Reviewed-by: lancea, bpb
2013-06-26 13:24:13 -07:00
Robert Field
9151d67365 8016761: Lambda metafactory - incorrect type conversion of constructor method handle
Reviewed-by: jrose
2013-06-26 07:50:04 -07:00
Chris Hegarty
b3e5539d06 8012647: Add Arrays.parallelPrefix (prefix sum, scan, cumulative sum)
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Tristan Yan <tristan.yan@oracle.com>
Reviewed-by: chegar, alanb, psandoz
2013-06-26 15:30:39 +01:00
Xue-Lei Andrew Fan
d22a89a1ae 8017049: rename property jdk.tls.rejectClientInitializedRenego
Reviewed-by: vinnie, wetmore, mullan
2013-06-26 06:32:40 -07:00
Yong Jeffrey Huang
345f3a94c5 8013836: getFirstDayOfWeek reports wrong day for pt-BR locale
Reviewed-by: naoto
2013-06-25 21:03:08 -07:00
Jason Uh
d30f173a22 8017326: Cleanup of the javadoc <code> tag in java.security.spec
Convert javadoc <code> and <tt> tags to {@code ...}

Reviewed-by: darcy
2013-06-25 14:41:46 -07:00
Jason Uh
1b06c50919 8017325: Cleanup of the javadoc <code> tag in java.security.cert
Convert javadoc <code>...</code> and <tt>...</tt> tags to {@code ...}

Reviewed-by: darcy
2013-06-25 14:31:29 -07:00
Aleksey Shipilev
32b2aa9183 8014233: java.lang.Thread should have @Contended on TLR fields
Add the @Contended over three TLR fields.

Reviewed-by: psandoz, chegar, dholmes, dl
2013-06-25 20:06:09 +01:00
Artem Smotrakov
b158c095ac 8016051: Possible ClassCastException in KdcComm
Reviewed-by: weijun
2013-06-25 21:51:11 +08:00
Alan Eliasen
5a0793018c 4641897: Faster string conversion of large integers
Accelerate conversion to string by means of Schoenhage recursive base conversion.

Reviewed-by: bpb, alanb
2013-06-20 12:15:24 -07:00
Joe Darcy
e751cc77ad 8017550: Fix doclint issues in java.lang and subpackages
Reviewed-by: alanb, chegar
2013-06-24 23:40:31 -07:00
Brian Burkhalter
9c0605b8e6 6469160: (fmt) general (%g) formatting of zero (0.0) with precision 0 or 1 throws ArrayOutOfBoundsException
For zero value ensure than an unpadded zero character is passed to Formatter.addZeros()

Reviewed-by: iris, darcy
2013-06-24 14:17:14 -07:00
Naoto Sato
650898839b 8017468: typo in javadoc: " ResourceBunlde "
Reviewed-by: okutsu
2013-06-24 16:21:32 -07:00
Alan Bateman
fbf2d36771 8017477: Remove TimeZone.DisplayNames, no longer used
Reviewed-by: okutsu
2013-06-24 11:26:51 +01:00
Andreas Rieber
14ddb9177d 7157360: HttpURLConnection: HTTP method DELETE doesn't support output
Reviewed-by: chegar
2013-06-22 08:20:11 +01:00
Chris Hegarty
a294d4b6a4 8017271: Crash may occur in java.net.DualStackPlainSocketImpl::initIDs due to unchecked values returned from JNI functions
Reviewed-by: alanb, khazra
2013-06-22 08:14:54 +01:00
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
Alan Bateman
6788137f6f Merge 2013-06-11 14:09:06 +01:00
Alexander Scherbatiy
3352552f34 8009984: [parfait] Buffer overrun at jdk/src/macosx/native/com/apple/laf/AquaFileView.m
Reviewed-by: serb, art
2013-06-11 16:30:34 +04:00
Sergey Malenkov
857a99a9e7 8015336: BasicComboBoxEditor throws NullPointerException
Reviewed-by: alexsch
2013-06-11 16:02:22 +04: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
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
Alan Bateman
451a0034a1 8016217: More javadoc warnings
Reviewed-by: lancea, chegar, psandoz
2013-06-10 12:58:32 +01: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
Staffan Larsen
be7ed4cfc7 8005008: Add Java Flight Recorder Phase II
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: erikj
2013-06-10 11:33:50 +02: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
Lance Andersen
ef953f52e0 8016101: Fix typo in SerialRef and missing @param in SerialStruct
Reviewed-by: darcy
2013-06-07 14:13:40 -04: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
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
Brian Burkhalter
5b5c7e541c 8016117: New sun.misc.FDBigInteger class as part of 7032154
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-06 16:45:25 -07:00
Rob McKenna
35584bae5d 8016063: getFinalAttributes should use FindClose
Reviewed-by: alanb
2013-06-06 22:22:56 +01:00
Dmitry Markov
269ea64b67 8015853: java.lang.ArrayIndexOutOfBoundsException when running SwingSet2 demo
Reviewed-by: alexp, serb
2013-06-06 17:59:37 +04:00
Andrew Brygin
8e6c2bb1b0 8013430: REGRESSION: closed/java/awt/color/ICC_Profile/LoadProfileTest/LoadProfileTest.java fails with java.io.StreamCorruptedException: invalid type code: EE since 8b87
Reviewed-by: prr, vadim
2013-06-06 13:57:25 +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
Mike Duigou
854a6b898f Merge 2013-06-06 11:39:34 -07:00
Eric McCorkle
47556dfb0d 8016019: Remove setProtectionDomain0 and JVM_SetProtectionDomain in JDK
SetProtectionDomain0 and JVM_SetProtectionDomain are unused since at least 1.5.  This is the JDK side of a changeset to remove it.

Reviewed-by: alanb
2013-06-06 09:51:17 -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
Otavio Goncalves
ddabf9f30a 8015470: Remove redundant calls of toString() on String objects
Reviewed-by: dholmes, alanb
2013-06-06 05:32:26 -04:00
Henry Jen
135a464761 8015522: CharSequence.codePoints can be faster
Reviewed-by: martin, psandoz, alanb
2013-06-05 15:56:51 -07: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
317fbcc0e8 8015963: Add at since tags to new ConcurrentHashMap methods
Reviewed-by: shade, martin
2013-06-05 16:23:23 +01: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
Anton Tarasov
ff6cb043ba 8015339: Correct a wording in javadoc of java.awt.ContainerOrderFocusTraversalPolicy
Reviewed-by: art, anthony
2013-06-05 17:44:50 +04:00
Vladislav Karnaukhov
69dcf8a54e 8015425: [macosx] A follow-up for the fix 8010721
Reviewed-by: serb, anthony
2013-06-05 16:57:33 +04:00
Dmitry Markov
d7c42983fb 8015375: Edits to text components hang for clipboard access
Reviewed-by: art, anthony
2013-06-05 14:21:31 +04:00
Lana Steuck
33b1694a1b Merge 2013-06-05 00:37:11 -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
Petr Pchelko
05a410aada 8015477: Support single threaded AWT/FX mode
Reviewed-by: ant, anthony
2013-06-03 10:14:05 +04:00
Phil Race
2cbcc2b315 8015556: [macosx] surrogate pairs do not render properly
Reviewed-by: bae, jchen
2013-05-31 09:25:37 -07:00
Vladislav Karnaukhov
a754c039be 6436314: Vector could be created with appropriate size in DefaultComboBoxModel
Reviewed-by: alexsch, alexp
2013-05-31 19:34:02 +04:00
Vladislav Karnaukhov
9c64c6f45b 7068740: If you wrap a JTable in a JLayer you can't use the page up and page down cmds
Reviewed-by: alexsch, alexp
2013-05-31 18:46:41 +04:00
Sergey Malenkov
d834509ee4 8013557: XMLEncoder in 1.7 can't encode objects initialized in no argument constructor
Reviewed-by: alexsch
2013-05-31 18:25:38 +04:00
Andrew Brygin
3c4b82e2bb 8015606: Text is not rendered correctly if destination buffer is custom
Reviewed-by: prr, vadim
2013-05-31 14:30:28 +04:00
Anthony Petrov
912472fd71 8013189: JMenuItems draw behind TextArea
Untie XTextAreaPeer internal components from the TextArea parent to prevent its invalidation. I.e. force the java.awt.smartInvalidate=true locally.

Reviewed-by: art, serb
2013-05-31 14:12:53 +04:00
Paul Sandoz
f2224939ec 8013649: HashMap spliterator tryAdvance() encounters remaining elements after forEachRemaining()
Reviewed-by: chegar
2013-05-31 10:53:19 +02:00
Lana Steuck
d983033c28 Merge 2013-06-04 21:37:15 -07:00
Jeff Nisewanger
c0c2397857 8014097: add doPrivileged methods with limited privilege scope
Reviewed-by: mchung
2013-06-04 15:33:42 -07:00
Doug Lea
6ffe8293b9 8005704: Update ConcurrentHashMap to v8
Reviewed-by: chegar, mduigou
2013-06-04 21:59:23 +01:00
Naoto Sato
a30cf6a6cc 8013903: Japanese calendar field names are not displayed with -Djava.locale.providers=HOST on Windows
Reviewed-by: okutsu
2013-06-04 10:33:13 -07:00
Michael McMahon
bf60c3fe29 8014723: sun/misc/URLClassPath/ClassnameCharTest.java failing
Reviewed-by: alanb, chegar
2013-06-04 10:56:58 +01:00
Brent Christian
53a90d216f 8005698: Handle Frequent HashMap Collisions with Balanced Trees
HashMap bins with many collisions store entries in balanced trees

Reviewed-by: alanb, dl, mduigou
2013-06-04 10:04:28 +01:00
Aleksey Shipilev
a6acf483b7 8014966: Add the proper Javadoc to @Contended
More extensive description.

Reviewed-by: dholmes, mduigou, martin
2013-06-03 22:09:20 +04:00
Paul Sandoz
138c0ccabd 8014383: StringJoiner example in class description not in sync with streams API
Reviewed-by: alanb
2013-06-03 17:37:51 +02:00
Nils Loodin
4b74b9fdcc 6526682: JConsole shows negative CPU Usage
Reviewed-by: alanb, mchung
2013-06-03 16:13:44 +02:00
Paul Sandoz
fdd231289a 8014731: j.u.stream.StreamSupport class has default constructor generated
This change set also fixes broken links

Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: alanb, chegar
2013-06-03 10:45:11 +02:00
Paul Sandoz
c58c150867 8015008: Primitive iterator over empty sequence, null consumer: forEachRemaining methods do not throw NPE
Reviewed-by: chegar
2013-06-03 10:28:17 +02:00
Jiri Vanek
2ab206de9e 8011693: Remove redundant fontconfig files
Remove unused fontconfig files from OpenJDK GNU/Linux builds

Reviewed-by: andrew, prr
2013-05-30 16:50:31 +01:00
Anton Tarasov
833d23804d 8013773: requestFocusInWindow to a disabled component prevents window of getting focused
Reviewed-by: leonidr, alexsch
2013-05-30 18:31:33 +04:00
Anton Tarasov
e460380426 8013424: Regression: java.awt.datatransfer.FlavorListeners not notified on Linux/Java 7
Reviewed-by: anthony
2013-05-30 18:23:21 +04:00
James Tomson
36b5e14b31 8015303: [macosx] Application launched via custom URL Scheme does not receive URL
Make copies of event parameters

Reviewed-by: anthony, swingler, serb
2013-05-30 18:10:26 +04:00
Lana Steuck
7df21ac3bf Merge 2013-05-29 16:58:42 -07:00
Lana Steuck
45f0337485 Merge 2013-05-29 16:56:53 -07:00
Jennifer Godinez
1539c3330d 8012381: [macosx]Unable to print out the defined page for 2D_PrintingTiger/JTablePrintPageRangesTest
Reviewed-by: jchen, prr
2013-05-29 09:46:00 -07:00
Jennifer Godinez
0415127a27 7183520: [macosx]Unable to print out the defined page for 2D_PrintingTiger/JTablePrintPageRangesTest
Reviewed-by: bae, prr
2013-05-29 09:18:55 -07:00
Dmitry Markov
d463443af2 8014863: Line break calculations in Java 7 are incorrect
Reviewed-by: alexp, alexsch
2013-05-29 18:40:02 +04:00
Vinnie Ryan
d57a6a4cb3 7174966: With OCSP enabled on Java 7 get error 'Wrong key usage' with Comodo certificate
Reviewed-by: xuelei
2013-05-29 14:57:51 +01:00
Alan Bateman
fc0eb58944 8014928: (fs) Files.readAllBytes() copies content to new array when content completely read
Reviewed-by: martin
2013-05-29 10:24:11 +01:00
Petr Pchelko
5b011a9020 8009911: [macosx] SWT app freeze when going full screen using Java 7 on Mac
Reviewed-by: anthony, ksrini
2013-05-29 12:10:49 +04:00
Xue-Lei Andrew Fan
cb9ce0a95c 8010815: some constructors issues in com.sun.jndi.toolkit
Reviewed-by: alanb
2013-05-28 18:47:13 -07:00
Naoto Sato
442c815128 6251788: (rb) PropertyResourceBundle doesn't document exceptions
Reviewed-by: okutsu
2013-05-28 14:02:49 -07:00
Xueming Shen
6b2527c45c 8001750: CharsetDecoder.replacement should not be changeable except via replaceWith method
To make defensive copy for set/get replacement byte array

Reviewed-by: martin
2013-05-28 10:42:52 -07:00
Rob McKenna
87a429a457 7038105: File.isHidden() should return true for pagefile.sys and hiberfil.sys
Reviewed-by: alanb
2013-05-28 16:35:17 +01:00
Florian Weimer
4bfd2d2b39 8014420: Default JDP address does not match the one assigned by IANA
JDP protocol defaults changed to IANA assigned values

Reviewed-by: dholmes, jbachorik, hirt
2013-05-28 18:46:39 +04:00
Petr Pchelko
abdbb79b15 8000422: [macosx] Views keep scrolling back to the drag position after DnD
Reviewed-by: serb, anthony
2013-05-28 12:37:46 +04:00
Nils Loodin
30482b86cf 6470730: Disconnect button leads to wrong popup message
Reviewed-by: dcubed, sla, egahlin
2013-05-27 17:10:32 +02:00
Chris Hegarty
d576d9a662 Merge 2013-05-27 15:24:53 +01:00
Chris Hegarty
1a031142e5 8015439: Minor/sync/cleanup of ConcurrentHashMap
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: chegar
2013-05-27 14:00:26 +01:00
Vladislav Karnaukhov
af284660df 8010721: [macosx] In JDK7 the menu bar disappears when a Dialog is shown
Reviewed-by: anthony, serb
2013-05-27 12:47:18 +04:00
Peter Levart
c6e58fdb1d 7038914: VM could throw uncaught OOME in ReferenceHandler thread
Catch OutOfMemoryError in reference handler thread if caused by allocation of an InterruptedException

Reviewed-by: dholmes, alanb
2013-05-27 09:41:44 +02:00
Alexey Utkin
ef2ccefb3a 8014394: (fs) WatchService failing when watching \\server\$d
Reviewed-by: alanb
2013-05-27 15:18:00 +04:00
Kumar Srinivasan
485921b016 8007333: [launcher] removes multiple back slashes
Reviewed-by: alanb, akhil
2013-05-24 17:01:08 -07:00
Phil Race
e418c51f5a 8008535: JDK7 Printing : CJK and Latin Text in a string overlap
Reviewed-by: bae, jgodinez
2013-05-24 09:31:29 -07:00
Sergey Malenkov
7dc93ab854 8013416: Java Bean Persistence with XMLEncoder
Reviewed-by: alexsch
2013-05-24 19:41:09 +04:00
Weijun Wang
c43d7aa0de 8014196: ktab creates a file with zero kt_vno
Reviewed-by: valeriep
2013-05-24 17:15:43 +08:00
Johnny Chen
4e79febb74 8012629: java.lang.UnsatisfiedLinkError exception throw by getAllFonts() on MacOSX
Reviewed-by: bae, prr
2013-05-23 12:16:17 -07:00
Doug Lea
7eb923313a 8014076: Arrays parallel and serial sorting improvements
Reviewed-by: chegar, mduigou
2013-05-23 18:34:15 +01:00
Nils Loodin
9179358ff4 8014048: Online user guide of jconsole points incorrect link
Reviewed-by: mchung, sla, jbachorik
2013-05-23 15:50:37 +02:00
Alexander Scherbatiy
1942e52e48 8014924: JToolTip#setTipText() sometimes (very often) not repaints component
Reviewed-by: serb
2013-05-23 15:52:37 +04:00
Joe Darcy
7c644b0a4b 8014836: Have GenericDeclaration extend AnnotatedElement
Reviewed-by: abuckley, jfranck
2013-05-22 20:03:45 -07:00
Lana Steuck
6a96b58ad4 Merge 2013-05-22 19:35:51 -07:00
Lana Steuck
9a0b18efc0 Merge 2013-05-22 17:37:05 -07:00
David Holmes
4ef977fec3 8014814: (str) StringBuffer "null" is not appended
Reviewed-by: alanb
2013-05-22 20:21:13 -04:00
Naoto Sato
c9d407ad39 7056126: DateFormatSymbols documentation has incorrect description about DateFormat
7083668: Sample code in ListResourceBundle is still not correct

Reviewed-by: okutsu
2013-05-22 16:43:04 -07:00
Lana Steuck
9bb98bc521 Merge 2013-05-22 09:57:48 -07:00
Chris Hegarty
64b3efd73b 8010182: Thread safety of Thread get/setName()
Reviewed-by: dholmes, alanb, mduigou
2013-05-22 13:50:53 +01:00
Yong Jeffrey Huang
eb6c8c5bc8 Merge 2013-05-21 01:50:13 -07:00
Yong Jeffrey Huang
4ebf44cbe4 7074882: Locale data needs correction (Month names for Maltese language)
Reviewed-by: naoto
2013-05-20 23:03:35 -07:00
David Holmes
aa649f097f 8014857: Enable ergonomic VM selection in arm/jvm.cfg
Reviewed-by: darcy
2013-05-21 01:17:46 -04:00
Anton Litvinov
075f3e82d9 8005607: Recursion in J2DXErrHandler() Causes a Stack Overflow on Linux
Reviewed-by: art, anthony, prr
2013-05-21 05:02:21 +04:00
Dmitry Markov
d463e0c4ae 7011777: JDK 6 parses html text with script tags within comments differently from previous releases
Reviewed-by: alexsch
2013-05-21 03:20:27 +04:00
Philippe Marschall
c6619c912d 8004789: (zipfs) zip provider doesn't work correctly with file systems providers rather than the default
To use Files.createTempFile(...) to create the temp file on the same fs as the targeted path.

Reviewed-by: alanb, sherman
2013-05-20 11:56:46 -07:00
Leonid Romanov
1dedaf5bf0 8014718: Netbeans IDE begins to throw a lot exceptions since 7u25 b10
Removed logging from SunToolkit

Reviewed-by: art
2013-05-20 19:07:01 +04:00
Lana Steuck
8f6d37ee8e Merge 2013-05-17 10:11:35 -07:00
Lana Steuck
3f67109c17 Merge 2013-05-17 10:06:20 -07:00
Johnny Chen
0ad376b3a8 8003444: Fix potential NULL pointer dereference
Reviewed-by: jgodinez, prr
2013-05-17 10:04:39 -07:00
Lana Steuck
3cc6d3b1e2 Merge 2013-05-17 10:04:12 -07:00
Peter Levart
2548b20c9e 8014477: (str) Race condition in String.contentEquals when comparing with StringBuffer
Reviewed-by: alanb, mduigou, dholmes
2013-05-17 14:41:39 +02:00
Mike Duigou
4d33158dea Merge 2013-05-18 18:55:56 -07:00
Weijun Wang
aab6997ce0 8012261: update policytool to support java.net.HttpURLPermission
Reviewed-by: mullan
2013-05-18 10:15:06 +08:00
Dan Xu
a8783e010f 8011136: FileInputStream.available and skip inconsistencies
Correct the behavior of available() and update related java specs for available() and skip() in InputStream and FileInputStream classes.

Reviewed-by: alanb
2013-05-17 12:04:18 -07:00
Andrew Brygin
5c7bbef885 8014205: Most of the Swing dialogs are blank on one win7 MUI
Reviewed-by: vadim
2013-05-17 16:14:42 +04:00