Commit Graph

5784 Commits

Author SHA1 Message Date
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
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
Lana Steuck
8a261ad520 Merge 2013-07-02 15:23:23 -07:00
Lana Steuck
5facdba813 Merge 2013-07-02 15:20:55 -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
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
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