Commit Graph

2072 Commits

Author SHA1 Message Date
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
Henry Jen
5a6e3cdfde 8016448: java/util/BitSet/BitSetStreamTest.java no longer compiles, missed by 8015895
Reviewed-by: mduigou
2013-06-12 14:07:14 -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
d233c11556 8016369: java/lang/instrument/RetransformBigClass.sh failing again
Reviewed-by: sla, sergei
2013-06-12 09:44:34 +01:00
Henry Jen
411df5ec90 8009736: Comparator API cleanup
Reviewed-by: psandoz, briangoetz, mduigou, plevart
2013-06-11 13:41:38 -07:00
Naoto Sato
eb278c1a27 6609431: (rb) ResourceBundle.getString() returns incorrect value
Reviewed-by: okutsu, sherman
2013-06-27 14:40:21 -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
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
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
feace4506d 6863624: java/util/Currency/PropertiesTest.sh writable check is incorrect
Reviewed-by: alanb
2013-06-21 13:42:55 -07: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
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
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
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
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
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
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
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
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
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
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
Frederic Parain
f405277c72 7150256: Add back Diagnostic Command JMX API
Reviewed-by: mchung, jbachorik
2013-06-05 08:41:02 -07: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
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
Phil Race
2cbcc2b315 8015556: [macosx] surrogate pairs do not render properly
Reviewed-by: bae, jchen
2013-05-31 09:25:37 -07: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
Anton Tarasov
391e1eadef 8015589: Test java/awt/Window/Grab/GrabTest.java fails on MacOSX
Reviewed-by: anthony
2013-05-31 15:56:07 +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
Alan Bateman
049fc8b7b0 8003895: java/nio/channels/AsynchronousChannelGroup/Unbounded.java failing again [win64]
Reviewed-by: chegar
2013-06-05 11:12:31 +01: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
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
Henry Jen
dafa777413 8014855: TEST_BUG: java/nio/file/Files/StreamTest.java fails when sym links not supported
Reviewed-by: alanb
2013-06-04 15:18:39 +01:00
Paul Sandoz
06985bbc35 8015790: Remove duplicate spliterator tests
Reviewed-by: alanb, mduigou
2013-06-04 11:53:31 +02: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
Lana Steuck
dd595d8f74 Merge 2013-06-03 16:09:43 -07:00
Eric McCorkle
a455b8ab9d 8014834: shell tests don't begin with #!/bin/sh
Some shell tests don't begin with the command interpreter line

Reviewed-by: alanb, ksrini
2013-06-03 10:44:10 -04: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
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
Lana Steuck
7df21ac3bf Merge 2013-05-29 16:58:42 -07:00
Lana Steuck
45f0337485 Merge 2013-05-29 16:56:53 -07:00
David Katleman
320a9159a3 8015525: JDK8 b91 source with GPL header errors
Reviewed-by: dholmes, lancea
2013-05-29 10:16:07 -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
Staffan Larsen
762cff81b7 8015440: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java fails with RuntimeException
Make sure serial gc compacts heap every time

Reviewed-by: mchung, brutisso, nloodin
2013-05-29 09:42:39 +02:00
Yiming Wang
ebea2d8168 8009258: TEST_BUG:java/io/pathNames/GeneralWin32.java fails intermittently
Reviewed-by: dxu, alanb
2013-05-28 22:22:48 -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
Anthony Petrov
c5e39e9e2b 7039616: java/awt/Window/TranslucentJAppletTest/TranslucentJAppletTest.java should be updated
Consider the test passed if the system does not support translucency

Reviewed-by: art
2013-05-28 16:38:41 +04:00
Alexander Zvegintsev
625394bc36 8014726: TEST_BUG: java/awt/WMSpecificTests/Metacity/FullscreenDialogModality.java should be modified
Reviewed-by: serb, anthony
2013-05-27 22:31:37 +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
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
Doug Lea
7eb923313a 8014076: Arrays parallel and serial sorting improvements
Reviewed-by: chegar, mduigou
2013-05-23 18:34:15 +01:00
David Holmes
4ef977fec3 8014814: (str) StringBuffer "null" is not appended
Reviewed-by: alanb
2013-05-22 20:21:13 -04:00
Lana Steuck
9bb98bc521 Merge 2013-05-22 09:57:48 -07:00
Chris Hegarty
0431243910 8014737: java/lang/invoke/7196190/MHProxyTest.java fails after 8009424
Reviewed-by: twisti
2013-05-22 13:57:59 +01: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
Chris Hegarty
fa23123952 Merge 2013-05-17 16:44:36 +01:00
Chris Hegarty
d6531cbf9f 8014783: java/net/HttpURLPermission/HttpURLPermissionTest.java leaves files open
Reviewed-by: michaelm
2013-05-17 16:44:15 +01: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
Konstantin Shefov
f894b19d50 8013426: TEST_BUG: java/awt/datatransfer/HTMLDataFlavors/HTMLDataFlavorTest.java fails with "RuntimeException: The data should be available" on Linux
Reviewed-by: anthony, serb
2013-05-17 14:11:06 +04:00
Konstantin Shefov
c2731f2b66 8014721: TEST_BUG: java/awt/TrayIcon/DragEventSource/DragEventSource.java fails with java.lang.UnsupportedOperationException
Reviewed-by: anthony, serb
2013-05-17 14:08:59 +04:00
Petr Pchelko
6b69d16477 7079254: Toolkit eventListener leaks memory
Reviewed-by: serb, art
2013-05-17 11:02:55 +04:00
Mandy Chung
a4a210dc69 4487672: (proxy) Proxy constructor should check for null argument
Reviewed-by: alanb, lancea
2013-05-16 15:08:24 -07:00
Eric Wang
9b4403735d 8004177: test/java/lang/Thread/GenerifyStackTraces.java doesn't clean-up
Reviewed-by: alanb, dholmes, chegar
2013-05-16 10:59:06 +01:00
Kurchi Subhra Hazra
83505983f5 7150552: network test hangs [macosx]
Remove usage of test/sun/net/www/httptest

Reviewed-by: chegar
2013-05-16 10:58:20 -07:00
Jim Gish
b0c93f4d19 8013380: Removal of stack walk to find resource bundle breaks Glassfish startup
Use caller's classloader to load resource as an alternative to thread context classloader and system classloader

Reviewed-by: mchung, alanb
2013-05-16 11:19:00 -04:00
Naoto Sato
41c159f597 8013233: java/util/Locale/LocaleProviders.sh fails
Reviewed-by: okutsu
2013-05-15 16:48:54 -07:00
Stephen Colebourne
48fc4f5552 8013730: JSR 310 DateTime API Updates III
Integration of JSR310 Date/Time API update III

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Patrick Zhang <patrick.zhang@oracle.com>
Reviewed-by: naoto
2013-05-15 07:48:57 -07:00
Michael McMahon
527399b98c 8010464: Evolve java networking same origin policy
Reviewed-by: alanb, chegar, dsamersoff, weijun
2013-05-15 15:01:59 +01:00
David Holmes
4e4591b4da 8013395: StringBuffer.toString performance regression impacting embedded benchmarks
Cache a copy of the char[] to use with toString() and clear it when ever the sb content is modified

Reviewed-by: alanb, plevart, mduigou, forax
2013-05-15 00:36:03 -04:00
Xueming Shen
bedabba81c 8014217: Base64.getXDecoder().wrap(...).read() doesn't throw exception for an incorrect number of padding chars in the final unit
To throw IOE for malformed final unit in base64 stream

Reviewed-by: chegar, alanb
2013-05-14 14:20:18 -07:00
Alexey Utkin
41b7094a94 8012453: (process) Runtime.exec(String) fails if command contains spaces [win]
Reviewed-by: alanb
2013-05-14 20:16:21 +04:00
Mandy Chung
24edc8dc91 8010727: WLS fails to add a logger with "" in its own LogManager subclass instance
Reviewed-by: alanb, jgish
2013-05-14 08:07:08 -07:00
Joe Darcy
b281decb0a 8014365: Restore Objects.requireNonNull(T, Supplier<String>)
Reviewed-by: mduigou
2013-05-13 22:16:55 -07:00
Ivan Gerasimov
171fdabebb 7021870: GzipInputStream closes underlying stream during reading
Reviewed-by: mduigou
2013-05-10 23:56:24 +04:00
Roger Riggs
d5da33beea 8014296: DivModTests should not compare pointers
Reviewed-by: darcy
2013-05-10 09:06:21 -07:00
Alan Bateman
6622dd4edf 8011128: (fs) Files.createDirectory fails if the resolved path is exactly 248 characters long
Reviewed-by: khazra, chegar
2013-05-10 14:53:33 +01:00
Joel Borggrén-Franck
5d83fde0d1 8007073: Implement Core Reflection for Type Annotations on parameters
Reviewed-by: darcy, abuckley
2013-05-10 10:20:13 +02:00
David Katleman
1b186bfddd 8014289: JDK8 b89 source with GPL header errors
Reviewed-by: mchung, mduigou, tbell, dsamersoff
2013-05-09 15:04:56 -07:00
Henry Jen
862e2f6a7d 8006884: (fs) Add Files.list, lines and find
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: briangoetz, mduigou
2013-05-09 14:44:56 -07: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
Lana Steuck
dfc792a1b8 Merge 2013-05-09 14:23:49 -07:00
Lana Steuck
fe8944db98 Merge 2013-05-08 23:53:35 -07:00
Brian Goetz
15adfafa5b 8012664: Add tests for java.util.stream and lambda translation
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Mike Duigou <mike.duigou@oracle.com>
Co-authored-by: Robert Field <robert.field@oracle.com>
Co-authored-by: Jim Gish <jim.gish@oracle.com>
Reviewed-by: mduigou, briangoetz
2013-05-06 11:43:51 -04:00
Brandon Passanisi
aac9a477c2 4802647: Throw required NPEs from removeAll()/retainAll()
Reviewed-by: mduigou, chegar, dholmes
2013-05-07 12:05:52 -07:00
Naoto Sato
06036d34ef 8013086: NPE thrown by SimpleDateFormat with TimeZoneNameProvider supplied
Reviewed-by: okutsu
2013-05-07 11:31:08 -07:00
Staffan Larsen
90294d0d6a 6980985: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage is not robust when getMax() returns -1
7181907: TEST_BUG: j/l/management/MemoryMXBean/ResetPeakMemoryUsage fails with NegativeArraySizeException
7148492: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java failing since update to hs23-b15 or b16

Reviewed-by: mchung, brutisso
2013-05-07 19:57:55 +02:00
Xueming Shen
722199f9b2 8013252: Regex Matcher .start and .end should be accessible by group name
8013254: Constructor \w need update to add the support of \p{Join_Control}

Added the requested methods and updated the \w constructor

Reviewed-by: mchung, alanb
2013-05-06 21:24:37 -07:00
Brian Goetz
68101a98fd 8003258: BufferedReader.lines()
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: alanb, mduigou, psandoz
2013-05-06 20:54:54 -07:00
Akhil Arora
e41e09a670 8013150: Iterator.remove and forEachRemaining relationship not specified
Reviewed-by: mduigou
2013-05-06 20:54:48 -07:00
Mike Duigou
5001b55ff1 8013712: Add Objects.nonNull and Objects.isNull
Reviewed-by: mchung, darcy
2013-05-06 20:54:42 -07:00
Dan Xu
c31fc852f1 8003992: File and other classes in java.io do not handle embedded nulls properly
Have every file operation done with File, FileInputStream, FileOutputStream, or RandomAccessFile that involves a file path containing NUL fail. Also reviewed by fweimer@redhat.com

Reviewed-by: alanb, sherman, ahgross, mduigou, dholmes, aph, plevart, martin
2013-05-06 14:17:59 -07:00
Akhil Arora
e9d3d7b789 8012645: Stream methods on BitSet, Random, ThreadLocalRandom, ZipFile
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou, henryjen, alanb, martin, psandoz
2013-05-02 09:18:56 -07:00
Lana Steuck
890ea1852e Merge 2013-05-01 11:34:06 -07:00
Paul Sandoz
b047746827 8012646: Pattern.splitAsStream
Co-authored-by: Ben Evans <benjamin.john.evans@gmail.com>
Reviewed-by: forax, plevart, alanb
2013-05-01 18:40:31 +02:00
Lana Steuck
4cb70c3b15 Merge 2013-05-01 09:20:08 -07:00
Stuart Marks
73e9aec3c4 8012665: add CharSequence.chars, CharSequence.codePoints
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: martin, alanb, ulfzibis, mduigou
2013-05-01 08:35:09 -07:00
Mark Sheppard
b09026494b 8007799: Base64.getEncoder(0, byte[]) returns an encoder that unexpectedly inserts line separators
Reviewed-by: sherman, iris
2013-04-30 16:24:08 +01:00
Chris Hegarty
49619272d0 6594296: NetworkInterface.getHardwareAddress returns zero length byte array
Reviewed-by: alanb
2013-05-01 10:03:39 +01:00
Lana Steuck
9286dd7a1b Merge 2013-04-30 17:51:31 -07:00
Alan Bateman
6878027374 8013647: JPRT unable to clean-up after tests that leave file trees with loops
Reviewed-by: chegar, tbell
2013-04-30 21:19:24 +01:00
Mark Sheppard
8394ed673f 8007373: Inet6Address serialization incompatibility
Reviewed-by: alanb, chegar
2013-04-29 23:07:22 +01:00
Sergey Malenkov
4eac739177 8007458: [findbugs] One more beans issue, with ReflectionUtils
Reviewed-by: art, alexsch
2013-04-29 16:42:22 +04:00
Phil Race
ae06d053cb 8012617: ArrayIndexOutOfBoundsException with some fonts using LineBreakMeasurer
Reviewed-by: bae, srl
2013-04-26 15:06:51 -07:00
Vladimir Kravets
4693d6568d 8012586: [x11] Modal dialogs for fullscreen window may show behind its owner
Use the _NET_WM_WINDOW_TYPE_DIALOG type for owned windows

Reviewed-by: anthony, art, serb
2013-04-26 18:48:11 +04:00
Chris Hegarty
22126efe5a Merge 2013-06-10 10:38:33 +01:00
Chris Hegarty
183dad0217 Merge 2013-05-31 10:34:25 +01:00
Chris Hegarty
a5477b8630 Merge 2013-05-23 12:58:51 +01:00
Chris Hegarty
c8b6b35f12 Merge 2013-05-16 11:47:51 +01:00
Chris Hegarty
6983122cde Merge 2013-05-08 11:22:25 +01:00
Chris Hegarty
9a078f9451 Merge 2013-04-28 09:35:25 +01:00
Konstantin Shefov
19779230c9 8011186: [TEST_BUG] java/awt/Focus/OverrideRedirectWindowActivationTest/OverrideRedirectWindowActivationTest.java failed on windows 8
Reviewed-by: anthony, serb, ant
2013-04-24 11:48:54 +04:00
David Katleman
05f3d6ab4b 8012643: JDK8 b86 source with GPL header errors
Reviewed-by: dholmes, alanb
2013-04-23 18:25:52 -07:00
Lana Steuck
5271b95f85 Merge 2013-04-23 15:17:39 -07:00
Chris Hegarty
5f108f0ea5 Merge 2013-04-23 11:13:38 +01:00
Naoto Sato
79174472a1 8010666: Implement Currency/LocaleNameProvider in Windows Host LocaleProviderAdapter
Reviewed-by: okutsu
2013-04-22 13:37:07 -07:00
Konstantin Shefov
6b2fcd1c77 8011230: [TEST_BUG] java/awt/Toolkit/BadDisplayTest/BadDisplayTest.java failed on solaris
Reviewed-by: serb, anthony
2013-04-22 18:39:04 +04:00
Brian Goetz
8d5c8613fc 8012650: Arrays streams methods
8011918: java.util.stream.Streams

Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, mduigou, darcy, henryjen
2013-04-20 18:53:26 -04:00
Xueming Shen
115e610026 8007395: StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters
Updated GroupCurly.match0() to backtrack correctly

Reviewed-by: mchung
2013-04-26 13:59:10 -07:00
Lana Steuck
8afbe69644 Merge 2013-04-17 21:48:04 -07:00
Lana Steuck
a33f306c8f Merge 2013-04-17 21:32:11 -07:00
Lana Steuck
16504b35d7 Merge 2013-04-17 11:24:40 -07:00
Paul Sandoz
3b5f4fc54a 8011426: java.util collection Spliterator implementations
Spliterator implementations for collection classes in java.util.

Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou, briangoetz
2013-04-17 11:34:31 +02:00
Akhil Arora
4fa1f1f4fc 8001647: default methods for Collections - forEach, removeIf, replaceAll, sort
Co-authored-by: Arne Siegel <v.a.ammodytes@googlemail.com>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: alanb, dholmes, mduigou, psandoz, smarks
2013-04-22 09:19:34 -07:00
Jim Gish
8f316cc40e 8010939: Deadlock in LogManager
Re-order locks to avoid deadlock

Reviewed-by: mchung
2013-04-19 16:50:10 -07:00
Jim Gish
30e93b56e3 8012005: LogManager needs test to ensure stack trace is not being done to find bundle
Reviewed-by: mchung
2013-04-18 16:33:11 -04:00
Roger Riggs
167854b5ab 8009648: Tests fail in -agentvm -concurrency mode
Reviewed-by: alanb
2013-04-18 12:24:55 +01:00
Alan Bateman
6c1e93b7c6 8011536: (fs) BasicFileAttributes.creationTime() should return birth time (mac)
Reviewed-by: chegar
2013-04-18 11:13:18 +01:00
David Katleman
24ec30a8e7 Merge 2013-04-16 15:00:19 -07:00
Brian Goetz
95fadac5c6 8010096: Initial java.util.Spliterator putback
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou, alanb, chegar, darcy
2013-04-16 13:51:53 -04:00
Lana Steuck
35ff6ba00e Merge 2013-04-17 12:31:34 -07:00
Lana Steuck
04d4410fb9 Merge 2013-04-17 12:14:16 -07:00
Coleen Phillimore
4b1fc01e88 Merge 2013-04-17 15:06:17 -04:00
Mandy Chung
fa54d97a10 8004260: dynamic proxy class should have the same Java language access as the proxy interfaces
Reviewed-by: alanb, jrose, jdn
2013-04-17 12:04:15 -07:00
Lana Steuck
babbf21e37 Merge 2013-04-17 10:30:02 -07:00
Coleen Phillimore
bdcf6abb46 8009531: Crash when redefining class with annotated method
Add code to annotated methods and command line flags to the tests to verify bug above

Reviewed-by: acorn, sspitsyn, dcubed, dholmes, alanb
2013-04-17 12:50:45 -04:00
Alan Bateman
aefbf5bd89 8012019: (fc) Thread.interrupt triggers hang in FileChannelImpl.pread (win)
Reviewed-by: chegar
2013-04-17 16:11:19 +01:00
Yong Jeffrey Huang
fc3e45929e 8011977: ISO 4217 Amendment Number 155
Reviewed-by: naoto
2013-04-16 22:28:47 -07:00
Chris Hegarty
320776832e Merge 2013-04-16 21:04:33 +01:00
Mike Duigou
12cfd3e1b4 8004518: Add in-place operations to Map
8010122: Add defaults for ConcurrentMap operations to Map

Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Co-authored-by: Akhil Arora <akhil.arora@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: darcy, briangoetz, mduigou, dholmes, ulfzibis
2013-04-16 11:17:19 -07:00
Chris Hegarty
c0de159c91 Merge 2013-04-16 13:30:19 +01:00
Chris Hegarty
dc668d18a3 8012244: java/net/Socket/asyncClose/Race.java fails intermittently on Windows
Reviewed-by: alanb, dsamersoff
2013-04-16 13:26:30 +01:00
Chris Hegarty
0a5657be1c 8012237: CompletableFuture/Basic.java still fails intermittently
Reviewed-by: martin
2013-04-16 12:51:22 +01:00
Chris Hegarty
23d10238b1 8012343: Objects.requireNonNull(Object,Supplier) breaks genstubs build
Reviewed-by: alanb
2013-04-16 12:23:16 +01:00
Joe Darcy
dbb722dfb0 8011800: Add java.util.Objects.requireNonNull(T, Supplier<String>)
Reviewed-by: alanb, dholmes, mduigou
2013-04-15 18:31:48 -07:00
Andrew Brygin
c0e62cff31 8012112: java/awt/image/mlib/MlibOpsTest.java fails on sparc solaris
Reviewed-by: prr, vadim
2013-04-15 14:11:32 +04:00
Chris Hegarty
7d3f26a18f 8011799: CompletableFuture/Basic.java fails intermittently
Reviewed-by: martin, alanb
2013-04-14 19:17:30 +01:00
Chris Hegarty
cd4711df4d Merge 2013-04-13 21:51:36 +01:00
Chris Hegarty
be8d5c723d Merge 2013-04-13 20:16:00 +01:00
David Katleman
930dcf7d28 8012048: JDK8 b85 source with GPL header errors
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:33 -07:00
Sergey Bylokhov
e227299954 8000629: [macosx] Blurry rendering with Java 7 on Retina display
Reviewed-by: anthony, prr, flar
2013-04-12 15:28:49 +04:00
Petr Pchelko
32995a0452 8010009: [macosx] Unable type into online word games on MacOSX
Reviewed-by: anthony, dcherepanov
2013-04-12 14:09:03 +04:00
Andrew Brygin
36ef0217a6 8011992: java/awt/image/mlib/MlibOpsTest.java failed since jdk7u25b05
Reviewed-by: vadim
2013-04-12 14:08:21 +04:00
Robert Field
60fae99960 8012028: Metafactory-generated lambda classes should be final
8008941: isSynthetic() returns false for lambda instances

Reviewed-by: mduigou
2013-04-12 20:23:13 -07:00
Henry Jen
3273287f58 8010279: java.util.Stream.min/max((Comparator)null) is not consistent in throwing (unspecified) NPE
Reviewed-by: alanb, mduigou
2013-04-12 12:41:18 -07:00
Xueming Shen
38e4efd784 8011647: Add java.time.Instant methods to java.nio.file.attribute.FileTime
Added the toInstant()/from(Instant) to FileTime

Reviewed-by: alanb
2013-04-12 12:03:00 -07:00
Sergey Malenkov
c1409aacef 4683761: Incomplete Introspection on nonpublic classes lead to IllegalAccessExceptions
Reviewed-by: alexsch
2013-04-11 19:12:59 +04:00
Mike Duigou
8b4ed5f8cc 8011200: (coll) Optimize empty HashMap and ArrayList
Co-authored-by: Sergey Linetskiy <sergey.linetskiy@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: mduigou, alanb, bchristi, martin
2013-04-10 12:43:18 -07:00
Stephen Colebourne
58af157d96 8011172: JSR 310 DateTime API Updates II
Integration of JSR310 Date/Time API update

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Reviewed-by: alanb, naoto, dholmes
2013-04-12 07:57:35 -07:00
Lana Steuck
a10b11c7fe Merge 2013-04-09 15:14:31 -07:00
Chris Hegarty
dc6fd2d5dd 8005696: Add CompletableFuture
Reviewed-by: chegar, martin
2013-04-09 17:27:47 +01:00
Joe Darcy
2c7f3d292f 6298888: Add toGenericString to j.l.Class and getTypeName to j.l.reflect.Type
6992705: Include modifiers in Class.toGenericString()

Class.toGenericString and supporting changes; additional reviews by Peter Levart

Reviewed-by: alanb
2013-04-08 17:06:20 -07:00
Jim Gish
4b5d81c510 8006036: (process) cleanup code in java/lang/Runtime/exec/WinCommand.java
Reviewed-by: lancea
2013-04-08 15:29:24 -04:00
Joe Darcy
76a59cf150 8011590: More tests for core reflection modeling of default methods
Reviewed-by: mduigou
2013-04-05 18:20:12 -07:00
Christos Zoulas
a7b0073f5a 5001942: Missings SOCKS support for direct connections
Add support for socksNonProxyHosts

Reviewed-by: chegar, khazra
2013-04-05 12:12:34 -07:00
Petr Pchelko
9ff5db6260 8006941: [macosx] Deadlock in drag and drop
7199783: Setting cursor on DragSourceContext does not work on OSX

Reviewed-by: anthony, serb
2013-04-05 18:29:53 +01:00
Joe Darcy
fa0b9daa08 8004979: java.lang.reflect.Modifier.toString should include "default"
Reviewed-by: mduigou
2013-04-02 16:26:54 -07:00
Lana Steuck
88a9d69091 Merge 2013-04-02 16:17:54 -07:00
Jim Gish
4c7d3a9bd1 5015163: (str) String merge/join that is the inverse of String.split()
7172553: A utility class that forms the basis of a String.join() operation

Integrate StringJoiner changes from lambda

Reviewed-by: alanb, mduigou
2013-04-02 18:41:04 -04:00
Sean Coffey
9822b2cd84 8000529: Regression: SimpleDateFormat incorrectly parses dates formatted with Z and z pattern letters
Reviewed-by: okutsu
2013-04-25 21:12:35 +01:00
Joe Darcy
edbd8cf91c 8012044: Give more information about self-suppression from Throwable.addSuppressed
Reviewed-by: alanb, dholmes
2013-04-25 09:37:03 -07:00
Xueming Shen
0872993c6c 8012638: test/java/time/test/java/util/TestFormatter fails in UTC TZ
Updated the offending test case

Reviewed-by: alanb
2013-04-24 21:27:52 +00:00
Alan Bateman
3db24cefee 8005555: TEST_BUG: java/io/Serializable/accessConstants/AccessConstants.java should be removed
Reviewed-by: chegar
2013-04-24 19:03:07 +01:00
Lana Steuck
843e6e05e2 Merge 2013-04-23 15:07:48 -07:00
Alan Bateman
1dea05c94f 8012930: (fs) Eliminate recursion from FileTreeWalker
Reviewed-by: chegar
2013-04-23 15:01:44 +01:00
Lana Steuck
e82dcb36d6 Merge 2013-04-02 11:59:34 -07:00
Xueming Shen
3457ff4337 8007379: Base64.getMimeDecoder().decode() throws IAE for a non-base64 character after padding
8008925: Base64.getMimeDecoder().decode() does not ignore padding chars

Updated implementation and spec for corner cases.

Reviewed-by: alanb
2013-04-02 10:12:20 -07:00
Mike Duigou
7d45058eaa 8011199: Backout changeset JDK-7143928 (2b34a1eb3153)
Reviewed-by: darcy, dholmes
2013-04-01 20:51:40 -07:00
Mike Duigou
3e6daeda3a 7143928: Optimize empty HashMap and ArrayList
Co-authored-by: Sergey Linetskiy <sergey.linetskiy@oracle.com>
Co-authored-by: John Rose <john.rose@oracle.com>
Reviewed-by: mduigou
2013-04-01 20:15:48 -07:00
Dan Xu
2ffe97f06e 8010837: FileInputStream.available() throw IOException when encountering negative available values
Remove the check in the native code to allow negative values

Reviewed-by: mchung
2013-03-27 09:00:34 -07:00
Denis Fokin
36fd8181af 7075105: WIN: Provide a way to format HTML on drop
Reviewed-by: uta, serb
2013-03-27 16:19:51 +04:00
Lana Steuck
bd671cb7fa Merge 2013-03-26 12:04:35 -07:00
Martin Buchholz
edcaf23233 8010316: Improve handling of char sequences containing surrogates
Fix and optimize codePointAt, codePointBefore and similar methods

Reviewed-by: sherman, okutsu, ulfzibis, kizune
2013-03-26 13:36:51 -07:00
Martin Buchholz
2a57075d85 8007905: To add a system property to create zip file without using ZIP64 end table when entry count > 64k
Provide a system property to inhibit ZIP64 mode for >64k entries

Reviewed-by: alanb, sherman
2013-03-26 13:34:54 -07:00
Alexander Scherbatiy
d089002460 8007146: [macosx] Setting a display mode crashes JDK under VNC
Reviewed-by: serb
2013-03-21 16:50:35 +04:00
Mandy Chung
c9e6a41b99 8006104: Improve tests to test ".useParentHandlers" property set in the logging configuration
Reviewed-by: alanb
2013-03-20 09:50:07 -07:00
Anton Litvinov
58a945da1c 6550588: java.awt.Desktop cannot open file with Windows UNC filename
Reviewed-by: art, uta
2013-03-20 20:41:03 +04:00
Konstantin Shefov
f61a46ce67 8009880: TEST_BUG: Test java/beans/Introspector/TestTypeResolver.java should be modified again
Reviewed-by: malenkov, alexsch
2013-03-20 14:02:25 +04:00
Brian Goetz
5b1cca1b96 8001642: Add Optional<T>, OptionalDouble, OptionalInt, OptionalLong
Reviewed-by: mduigou, darcy, alanb, jjb
2013-03-19 16:05:34 -07:00
Lana Steuck
31330fc47a Merge 2013-03-12 19:04:49 -07:00
Lana Steuck
5adedccb9c Merge 2013-03-12 16:40:22 -07:00
Henry Jen
9db6479318 8001667: Comparator combinators and extension methods
Reviewed-by: mduigou, briangoetz
2013-03-08 15:45:06 -08:00
Alan Bateman
9849742625 8006000: TEST_BUG: java/lang/invoke/lambda/LambdaAccessControlTest.java fails intermittently
Reviewed-by: chegar
2013-03-08 12:03:26 +00:00
Chris Hegarty
7d6b4b81de 6370908: Add support for HTTP_CONNECT proxy in Socket class
Co-authored-by: Damjan Jovanovic <damjan.jov@gmail.com>
Reviewed-by: chegar
2013-03-07 10:07:13 +00:00
Vladimir Ivanov
9aba745d56 8009222: java.lang.IllegalArgumentException: not invocable, no method type when attempting to get getter method handle for a static field
Reviewed-by: jrose, twisti
2013-03-06 16:59:42 +04:00
Lana Steuck
4f62a2b334 Merge 2013-03-15 23:31:19 -07:00
Yiming Wang
a7f501c620 7183800: TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1)
Reviewed-by: alanb, chegar
2013-03-14 16:59:06 +00:00
Jim Gish
709f67b8f9 8002070: Remove the stack search for a resource bundle for Logger to use
The fragile, vulnerable, stack crawling has been eliminated from findResourceBundle(String)

Reviewed-by: mchung, alanb
2013-03-13 11:24:48 -04:00
Naoto Sato
16bd2e1298 8004240: Return value from getAdapterPrefence() can be modified
Reviewed-by: okutsu
2013-03-04 20:46:42 -08:00
Joe Darcy
bc576240bc 8009267: Restore isAnnotationPresent methods in public AnnotatedElement implementations
Reviewed-by: jjg
2013-03-04 19:42:56 -08:00
Chris Hegarty
3a216a7fdc 8008378: FJP.commonPool support parallelism 0, add awaitQuiescence
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: chegar
2013-03-02 08:54:37 +00:00
Dan Xu
4994fe0840 8006645: TEST_BUG: java/nio/file/Files/CopyAndMove.java failing intermittently (sol)
Fix test failures and update java doc of Files.move

Reviewed-by: alanb, chegar
2013-03-01 14:12:59 -08:00
Sergey Malenkov
19bc54290f 7163696: JCK Swing interactive test JScrollBarTest0013 fails with Nimbus and GTK L&Fs
Reviewed-by: alexsch
2013-03-01 14:30:52 +04:00
Mike Duigou
5262142601 8008785: IdentityHashMap.values().toArray(V[]) broken by JDK-8008167
Reviewed-by: alanb
2013-02-27 11:00:20 -08:00
Edvard Wendelin
f5518d2c81 Merge 2013-02-27 18:13:20 +01:00
Edvard Wendelin
7ecb0fd433 Merge 2013-02-26 20:36:52 +01:00
Robert Field
b0dc9de25e 8008770: SerializedLambda incorrect class loader for lambda deserializing class
Current thread's context ClassLoader was used to load class by name, pass class not name in serialization (Thank you Peter Levart for test and prototype. Thank you Sundar and Peter for unofficial reviews)

Reviewed-by: forax
2013-02-26 10:38:58 -08:00
Chris Hegarty
4e9403c378 Merge 2013-02-26 11:06:49 +00:00
Krystal Mo
f5666f9a69 7087570: java.lang.invoke.MemberName information wrong for method handles created with findConstructor
REF_invokeSpecial DMHs (which are unusual) get marked explicitly; tweak the MHI to use this bit

Reviewed-by: jrose, twisti
2013-02-26 11:05:26 +00:00
Lana Steuck
38697490b4 Merge 2013-02-23 19:49:17 -08:00
Alan Bateman
f99a5d722e 8008793: SecurityManager.checkXXX behavior not specified for methods that check AWTPermission and AWT not present
Reviewed-by: hawtin, mullan, dsamersoff, mchung
2013-02-27 14:24:45 +00:00
Edvard Wendelin
2f5be3ab0d Merge 2013-02-25 08:44:00 +01:00
Lana Steuck
835c35dc91 Merge 2013-02-21 17:43:57 -08:00
Robert Field
56baa11720 8008356: Test LambdaSerialization.java failing
Run in /othervm mode

Reviewed-by: ksrini
2013-02-21 15:46:37 -08:00
Daniel D. Daugherty
5eb01d191d 8008352: java/lang/instrument/RedefineSubclassWithTwoInterfaces.sh fails on MKS
Use more portable pattern counting constructs in test driver.

Reviewed-by: sspitsyn, sla, coleenp
2013-02-20 13:23:56 -08:00
Lana Steuck
09dadebbf1 Merge 2013-02-19 22:23:34 -08:00
Edvard Wendelin
cbfc80d987 Merge 2013-02-19 21:48:01 +01:00
Eric McCorkle
78fe727c6d 8008312: Re-enable MethodParameter tests in JDK
Reviewed-by: darcy
2013-02-19 17:09:25 +00:00
Konstantin Shefov
a97003cb22 8006070: TEST_BUG: Up and down the Y coordinate of the mouse position, the selected item doesn't change for the single list
Reviewed-by: serb, anthony
2013-02-19 20:00:02 +04:00
Konstantin Shefov
88eea092fb 8008379: TEST_BUG: Fail automatically with java.lang.NullPointerException
Reviewed-by: serb, anthony
2013-02-19 17:26:40 +04:00
Frank Ding
7886b3e26b 6429204: (se) Concurrent Selector.register and SelectionKey.interestOps can ignore interestOps
Reviewed-by: alanb
2013-02-18 08:14:18 +00:00
David Holmes
390cc1d7a1 Merge 2013-02-17 16:44:19 -05:00
Robert Field
381aecb7c2 8004970: Implement serialization in the lambda metafactory
Reviewed-by: forax
2013-02-16 12:36:54 -08:00
Vera Akulova
d273278133 8005920: After pressing combination Windows Key and M key, the frame, the instruction and the dialog can't be minimized
Reviewed-by: serb, denis
2013-02-15 17:46:39 +04:00
Chris Hegarty
5c9a25d2d2 8008223: java/net/BindException/Test.java fails rarely
Reviewed-by: khazra, alanb
2013-02-15 11:06:52 +00:00
Xueming Shen
a433a8918d 8008254: j.u.Calendar.JavatimeTest failed at TL b78 pit testing
To use j.t.ZoneId zone name to keep round-trip

Reviewed-by: okutsu
2013-02-15 01:17:31 +00:00
Lana Steuck
9b523dc375 Merge 2013-02-13 17:57:31 -08:00
Daniel D. Daugherty
ba9cf66b48 8007935: java/lang/instrument/RedefineSubclassWithTwoInterfaces.sh should use $COMPILEJAVA for javac
Reviewed-by: sspitsyn, alanb
2013-02-13 13:22:31 -08:00