Commit Graph

3356 Commits

Author SHA1 Message Date
Paul Sandoz
5744f4fc30 8071597: Add Stream dropWhile and takeWhile operations
Reviewed-by: briangoetz, smarks, chegar, forax
2015-06-09 07:10:03 +01:00
Pavel Rappo
91a4a6b0ce 8064925: URLConnection::getContent needs to be updated to work with modules
Reviewed-by: chegar, alanb
2015-07-10 16:40:12 +01:00
Paul Sandoz
e56c76e9f7 8081678: Add Stream returning methods to classes where there currently exist only Enumeration returning methods
Reviewed-by: lancea, alanb, chegar, dfuchs, mullan, smarks
2015-06-09 07:10:02 +01:00
Joe Darcy
efa84f658a 8081547: Prepare client libs regression tests for running in a concurrent, headless jtreg environment
Reviewed-by: alanb
2015-06-30 17:48:06 -07:00
Alejandro Murillo
f55c892a65 Merge 2015-06-30 11:20:43 -07:00
Brian Burkhalter
bfe32f271f 8129632: (fs) Files.probeContentType returns null on Mac OS X
Append a Uniform Type Identifier-based FileType Detector for Mac OS X

Reviewed-by: alanb
2015-06-30 10:47:54 -07:00
Yuri Nesterenko
cadfa093b6 8081306: [TEST_BUG] remove imports of the internal API from some regression tests
Reviewed-by: serb
2015-06-18 11:05:33 +03:00
Phil Race
fd974c3567 Merge 2015-06-16 13:00:37 -07:00
Phil Race
ded46b191f Merge 2015-06-16 10:52:39 -07:00
Doug Lea
975075a8c8 8085978: LinkedTransferQueue<T>.spliterator can report LTQ.Node object, not T
Reviewed-by: psandoz, martin
2015-06-16 13:13:05 +02:00
Sean Mullan
0338c81dbd 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
Reviewed-by: weijun
2015-06-12 12:50:41 -04:00
Sergey Bylokhov
0357758744 7178683: [macosx] The default directory for open dialog is different for FileDialogOpenDirTest.html
Reviewed-by: azvegint, ant
2015-06-12 15:01:10 +03:00
Amy Lu
3f8d76f352 8085879: Mark intermittently failing: java/util/Arrays/ParallelPrefix.java
Reviewed-by: darcy
2015-06-12 14:28:21 +08:00
Srikanth Adayapalam
3132301b74 8054304: Clarify treatment of bounds in j.l.r.Annotated{WildcardType,TypeVariable}
Reflection APIs should return unannotated Object as the upper bound when there is no explicit upper bound.

Reviewed-by: darcy
2015-06-12 10:58:31 +05:30
Roger Riggs
8979cb0b2d 8086117: java/lang/Runtime/exec/LotsOfOutput.java still fails intermittently with Process consumes memory
Reviewed-by: chegar
2015-06-10 07:52:43 -04:00
Sean Mullan
d107e7ec6c Merge 2015-06-09 09:19:43 -04:00
Sean Mullan
e37ef5fefc 8056179: Store permissions in concurrent collections in PermissionCollection subclasses
8065942: Store PermissionCollection entries in a ConcurrentHashMap instead of a HashMap in Permissions class

Reviewed-by: weijun
2015-06-09 09:18:07 -04:00
Semyon Sadetsky
032cef6ff8 8017487: filechooser in Windows-Libraries folder: columns are mixed up
Reviewed-by: serb, ant
2015-06-09 14:11:11 +03:00
Sunny Chan
36d62dcbb1 8080945: Improve the performance of primitive Arrays.sort for certain patterns of array elements
Co-authored-by: Mohammad Rezaei <mohammad.rezaei@gs.com>
Reviewed-by: psandoz
2015-06-09 07:05:48 +01:00
Phil Race
259cdd9d8f Merge 2015-06-08 11:31:09 -07:00
Alejandro Murillo
84e8aa917e Merge 2015-06-08 11:11:48 -07:00
Aleksei Efimov
a6488e0152 8080774: DateFormat for Singapore/English locale (en_SG) is M/d/yy instead of d/M/yy
Reviewed-by: naoto
2015-06-08 16:17:37 +03:00
Konstantin Shefov
8f99c7eca7 8068416: LFGarbageCollectedTest.java fails with OOME: "GC overhead limit exceeded"
Reviewed-by: vlivanov
2015-06-05 13:14:36 +03:00
Stuart Marks
bc90fc9b01 8072726: add adapter to convert Enumeration to Iterator
Reviewed-by: redestad, forax, chegar, dfuchs, psandoz, rriggs, briangoetz
2015-06-04 18:28:14 -07:00
Alejandro Murillo
f77dadee42 Merge 2015-06-04 15:38:00 -07:00
Chris Hegarty
52d42bb03a 8085858: Better failure output for test/java/util/Arrays/ParallelPrefix.java
Reviewed-by: psandoz, igerasim
2015-06-04 19:28:45 +01:00
Sean Coffey
4ae5f74173 8072384: Setting IP_TOS on java.net sockets not working on unix
Reviewed-by: michaelm
2015-06-04 18:16:25 +01:00
Chris Hegarty
46b53cd5cf 8080835: Add blocking bulk read to java.io.InputStream
Reviewed-by: alanb, rriggs, prappo
2015-06-04 10:27:06 +01:00
Chris Hegarty
810d1992d2 8079778: Add intermittent tag to java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java
Reviewed-by: chegar, msheppar
2015-06-04 10:24:31 +01:00
Peter Levart
1c2084bafb 8079063: ZoneOffsetTransitionRule.of should throw IAE for non-zero nanoseconds
Reviewed-by: rriggs, scolebourne
2015-06-04 10:58:17 +02:00
Roger Riggs
c3d9e6c08d Merge 2015-06-04 03:38:56 +02:00
David Dehaven
6f766feacd Merge 2015-06-03 18:26:06 -07:00
David Dehaven
22fa775a7e Merge 2015-06-03 18:11:45 -07:00
Roger Riggs
afb73945a3 8067808: java/lang/ProcessBuilder/Basic.java failed on Assertion
Change to use javaChild reporting its pid not portable

Reviewed-by: igerasim
2015-06-03 18:18:05 -04:00
Roger Riggs
b440bfb8eb 8081567: java/lang/ProcessHandle/InfoTest.java failed Cannot run program "whoami"
Replace use of whoami with checking the user against a file created

Reviewed-by: igerasim
2015-06-03 18:17:04 -04:00
Sergey Bylokhov
44033ae9bd 8076312: The behavior of the javax.swing.SwingContainer.delegate contradicts spec
Reviewed-by: alexsch, malenkov
2015-06-03 23:17:52 +03:00
Ivan Gerasimov
f35750c5d6 8058779: Faster implementation of String.replace(CharSequence, CharSequence)
Reviewed-by: sherman, plevart, forax, psandoz
2015-06-03 19:26:58 +03:00
Chris Hegarty
e11aec59a2 8071474: Better failure atomicity for default read object
Reviewed-by: plevart, coffeys
2015-06-03 15:30:44 +01:00
Mikhail Cherkasov
a5eab1ce93 8077409: Drawing deviates when validate() is invoked on java.awt.ScrollPane
Reviewed-by: bae
2015-06-03 15:21:35 +03:00
Sergey Bylokhov
6a907dfc02 8079084: Behavior of BeanProperty.enumerationValues() contradicts spec
Reviewed-by: alexsch, malenkov
2015-06-02 19:27:06 +03:00
Roger Riggs
ea68abc64e 8081566: java/lang/ProcessHandle/InfoTest.java failed on case sensitive command
Reviewed-by: lancea, alanb
2015-06-01 10:29:06 -04:00
Roger Riggs
b4ff25ecc8 8081536: (process) remove unreliable ScaleTest from ProcessHandle tests
Reviewed-by: darcy
2015-05-29 15:17:07 -04:00
Roger Riggs
103d99baf1 8077350: JEP 102 Process API Updates Implementation
Reviewed-by: chegar, plevart, psandoz, darcy, martin, alanb
2015-05-29 14:04:12 -04:00
Ivan Gerasimov
97f5b473ec 8081027: Create a common test to check adequacy of initial size of static HashMap/ArrayList fields
Reviewed-by: martin
2015-05-29 19:20:22 +03:00
Daniel D. Daugherty
3c5478da5a Merge 2015-05-28 15:03:57 -07:00
Anton Nashatyrev
4dc4dd721e 8041470: JButtons stay pressed after they have lost focus if you use the mouse wheel
Reviewed-by: azvegint, alexp
2015-05-28 21:17:49 +03:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Andreas Eriksson
e6e9202e93 8080428: [TESTBUG] java/lang/invoke/8022701/MHIllegalAccess.java - FAIL: Unexpected wrapped exception java.lang.BootstrapMethodError
Reviewed-by: vlivanov
2015-05-28 12:11:33 +02:00
Roger Riggs
7b960a2e59 8081022: java/time/test/java/time/format/TestZoneTextPrinterParser.java fails by timeout on slow device
Reduce number of iterations to 8 instead of 50

Reviewed-by: naoto
2015-05-27 15:57:10 -04:00
Mark Sheppard
48a0b96187 8077377: java/net/MulticastSocket/SetOutgoingIf.java fails intermittently with NullPointerException
Ignore "stray" packets received from non test interface

Reviewed-by: alanb, chegar
2015-05-27 13:23:40 +01:00
Mark Sheppard
03c24ff25b 8041677: java/net/MulticastSocket/TestInterfaces failed on Oracle VM Virtual Ethernet Adapter
Ignore Teredo interface in test

Reviewed-by: alanb, chegar
2015-05-27 13:04:32 +01:00
David Dehaven
41bdaeb5a2 Merge 2015-05-26 15:18:09 -07:00
Alejandro Murillo
fa672c31d0 Merge 2015-05-26 09:22:39 -07:00
Semyon Sadetsky
243208ab2e 8003399: JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
Reviewed-by: serb, ant
2015-05-25 16:10:12 +03:00
Artem Smotrakov
6b7bbd4884 8050374: More Signature tests
Reviewed-by: valeriep
2015-05-25 11:47:41 +03:00
Sergey Bylokhov
44af11b7a3 8061831: [OGL] "java.lang.InternalError: not implemented yet" during the blit of VI to VI in xor mode
Reviewed-by: flar, bae
2015-05-23 15:13:40 +03:00
Sergey Bylokhov
13711e78f0 8071306: GUI perfomance are very slow compared java 1.6.0_45
Reviewed-by: azvegint, ant
2015-05-22 19:27:33 +03:00
Shobhit Gupta
318383493e 8079440: [TESTBUG] @run is missing in java/awt/TrayIcon/8072769/bug8072769.java
Reviewed-by: alexsch, azvegint
2015-05-22 16:13:00 +03:00
Alejandro Murillo
d312bbb6ed Merge 2015-05-21 17:11:55 -07:00
Vinnie Ryan
6deb69ac50 8072578: ProbeKeystores.java creates files in test.src
Reviewed-by: weijun
2015-05-21 17:42:15 +01:00
Roger Riggs
b7d8c57908 8078582: java/lang/Runtime/exec/LotsOfOutput.java fails intermittently with Process consumes memory
Small allocations may bump total memory, raise THRESHOLD to 2Mb

Reviewed-by: martin
2015-05-20 11:17:09 -04:00
Igor Ignatyev
8f509d71e6 8055269: java/lang/invoke/MethodHandles/CatchExceptionTest.java fails intermittently
Reviewed-by: vlivanov
2015-05-19 20:04:29 +03:00
Brian Burkhalter
a6ad9cd49a 8080629: (fs) Re-enable ability to fsync() on directories even though read()s on those directories may fail
Revert fix applied to resolve JDK-8066915.

Reviewed-by: alanb
2015-05-19 07:12:10 -07:00
Ivan Gerasimov
43b2601a96 8080535: (ch) Expected size of Character.UnicodeBlock.map is not optimal
Reviewed-by: martin, chegar
2015-05-18 19:15:50 +03:00
Peter Levart
30bcd97f81 8077846: improve locking strategy for readConfiguration(), reset(), and initializeGlobalHandlers()
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: dholmes, alanb, mchung
2015-05-17 10:38:36 +02:00
Alexander Scherbatiy
2e68b719a3 8080137: Dragged events for extra mouse buttons (4, 5, 6) are not generated on JSplitPane
Reviewed-by: serb, azvegint
2015-05-22 15:27:28 +04:00
Alexander Scherbatiy
83dcd68033 8065739: [macosx] Frame warps to lower left of screen when
7124365: [macosx] setMaximizedBounds() should be implemented

Reviewed-by: serb, azvegint
2015-05-22 15:19:05 +04:00
Valerie Peng
d296137c20 8038084: CertStore needs a way to add new CertStore types
Removed internal helper classes and reflection usage for LDAP CertStore.

Reviewed-by: mullan
2015-05-15 01:14:25 +00:00
Stuart Marks
9af3729cc7 8078463: TEST_BUG: optimize java/util/Map/Collisions.java
Reviewed-by: martin, chegar, dfuchs
2015-05-14 13:52:05 -07:00
Jaroslav Bachorik
3e2a1f00e5 8078143: java/lang/management/ThreadMXBean/AllThreadIds.java fails intermittently
Reviewed-by: dholmes, martin
2015-05-14 11:41:11 +02:00
Phil Race
7fa117f7bb Merge 2015-05-13 14:25:22 -07:00
Phil Race
95cc940989 Merge 2015-05-13 08:37:34 -07:00
Prasanta Sadhukhan
5c80a9e763 8077584: Value of java.awt.font.OpenType.TAG_OPBD is incorrect
Reviewed-by: serb, prr
2015-05-12 20:30:48 +03:00
Sean Mullan
5dbc7756f6 8075706: Policy implementation does not allow policy.provider to be on the class path
Reviewed-by: alanb, mchung
2015-05-12 13:13:06 -04:00
Pavel Rappo
431c16c78d 8029689: (spec) Reader.read(char[], int, int) throws unspecified IndexOutOfBoundsException
Reviewed-by: chegar, lancea
2015-05-12 13:59:31 +01:00
Alexander Scherbatiy
e52bc6a831 8079255: [macosx] Test closed/java/awt/Robot/RobotWheelTest/RobotWheelTest fails for Mac only
Reviewed-by: serb
2015-05-12 16:43:32 +04:00
Daniel Fuchs
04f236baec 8079773: java/util/logging/LogManager/TestLoggerNames.java
Fixed a race condition in the test which was responsible of the intermittent failure.

Reviewed-by: mchung
2015-05-12 14:32:50 +02:00
Paul Sandoz
0e7987c721 8078645: removeIf(filter) in ConcurrentHashMap removes entries for which filter is false
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: martin, dholmes
2015-05-12 10:50:40 +02:00
Petr Pchelko
eea06f70fc 8035568: [macosx] Cursor management unification
Reviewed-by: anthony, serb
2015-05-09 02:08:15 +03:00
Sergey Bylokhov
ad5afe4557 8015900: [TEST_BUG] ScrollbarMouseWheelTest failed on ubuntu 12 with unity and unity 2D
Reviewed-by: azvegint, yan
2015-05-08 20:43:46 +03:00
Semyon Sadetsky
8c26397da5 6980209: Make tracking SecondaryLoop.enter/exit methods easier
Reviewed-by: serb, ant
2015-05-08 15:37:38 +03:00
Chris Hegarty
008fee0591 8079782: RandomFactory should be in the jdk.testlibrary package
Reviewed-by: bpb
2015-05-08 11:02:33 +01:00
Amy Lu
94dbab9120 8079651: (dc) Promiscuous.java fails with NumberFormatException due to network interference
Reviewed-by: alanb, chegar
2015-05-08 10:22:18 +01:00
Brian Burkhalter
c0d7208b4b 8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
Add to specification of newBufferedWriter() and write() methods that the DELETE_ON_CLOSE option triggers invoking checkDelete().

Reviewed-by: alanb
2015-05-07 16:12:10 -07:00
Katja Kantserova
549731dc2f 8078896: Add @modules as needed to the jdk_svc tests
Reviewed-by: alanb, mchung
2015-05-07 09:11:49 +02:00
Joe Darcy
709770f935 8079544: Mark java/util/regex/RegExTest.java as failing intermittently
Reviewed-by: sherman
2015-05-06 16:00:15 -07:00
Joe Darcy
3830136846 8079419: Update to RegEx test to use random number library
Reviewed-by: sherman
2015-05-05 15:34:22 -07:00
Phil Race
b8cf472fe8 Merge 2015-05-05 13:29:31 -07:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Brian Burkhalter
30e8183ee8 8078672: Print and allow setting by Java property seeds used to initialize Random instances in java.lang numerics tests
Add ability to initial the random number generator from the system property "seed" and print to STDOUT the seed value actually used.

Reviewed-by: darcy
2015-04-29 16:34:49 -07:00
Naoto Sato
ae93bb2873 8075545: Add permission check for locale service provider implementations
Reviewed-by: mchung, alanb
2015-04-29 11:03:56 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Phil Race
b61e85156e 8076979: DebugFonts.java fails with stackoverflow error
Reviewed-by: serb, jgodinez
2015-04-29 10:25:49 -07:00
Phil Race
60bb43ad32 Merge 2015-04-29 08:52:47 -07:00
Laurent Bourgès
e41e267848 8078464: Path2D storage growth algorithms should be less linear
Reviewed-by: flar
2015-04-28 14:23:03 -07:00
Brian Burkhalter
6929be6fff 8075156: (prefs) get*() and remove() should disallow the use of the null control character '\u0000' as key
Extend disallowing null control character key to remove()

Reviewed-by: rriggs, alanb
2015-04-28 11:10:45 -07:00
Alexander Scherbatiy
6dd76600b3 8044444: The output's 'Page-n' footer does not show completely
Reviewed-by: prr, serb
2015-04-28 19:32:50 +04:00
Roger Riggs
41b36c4295 8078826: Add diagnostic info for java/lang/Runtime/exec/LotsOfOutput.java fails intermittently
Add debugging output for diagnose intermittent failure

Reviewed-by: chegar, joehw
2015-04-28 09:28:24 -04:00
Sergey Bylokhov
aca583b3e9 8077267: Typo in the test on JavaBean
Reviewed-by: alexsch, malenkov
2015-04-28 16:24:04 +03:00
Roger Riggs
642e0ac6f1 8078369: [testbug] java/time/tck/java/time/TCKOffsetTime[now] fails on slow devices
Increase the tolerance between successive calls to now() to 20sec

Reviewed-by: scolebourne, sherman, dfuchs
2015-04-27 16:31:47 -04:00
Phil Race
96700da961 Merge 2015-04-27 09:17:39 -07:00
Doug Lea
37fbfc1a3d 8078490: Missed submissions in ForkJoinPool
Reviewed-by: psandoz, shade, martin, chegar
2015-04-24 15:39:41 +02:00
Anton Nashatyrev
2c3844609c 8078165: [macosx] NPE when attempting to get image from toolkit
Reviewed-by: serb, alexp
2015-04-23 17:33:19 +03:00
Sergey Bylokhov
e75b6c9ab8 6829245: Reg test: java/awt/Component/isLightweightCrash/StubPeerCrash.java fails
Reviewed-by: azvegint, alexsch
2015-04-23 16:54:54 +03:00
Alexander Scherbatiy
849e09bade 8069361: SunGraphics2D.getDefaultTransform() does not include scale factor
Reviewed-by: flar, prr, serb
2015-04-22 13:46:03 +04:00
Pooja Chopra
04c0e090c9 8078082: [TEST_BUG] java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java fails
Reviewed-by: serb, alexsch
2015-04-21 20:11:59 +03:00
Chris Hegarty
e028ed3a21 8075139: Restore java.protocol.handler.pkgs to work as a fallback for migration
Reviewed-by: alanb, psandoz
2015-04-21 14:23:58 +01:00
Calvin Cheung
cd6c611521 Merge 2015-04-17 14:37:44 -07:00
Sergey Bylokhov
6634445355 8074757: Remove java.awt.Toolkit methods which return peer types
Reviewed-by: alanb, prr, ant
2015-04-17 17:01:24 +03:00
Sergey Bylokhov
677097c128 8074763: Remove API references to java.awt.dnd.peer
Reviewed-by: alanb, ant, prr
2015-04-17 16:57:30 +03:00
Sergey Bylokhov
b9aead1b2c 8074028: Remove API references to java.awt.peer
Reviewed-by: alanb, ant, yan, prr
2015-04-17 16:54:13 +03:00
Phil Race
971438ead7 8075942: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo
Reviewed-by: flar, lbourges
2015-04-17 12:32:46 -07:00
Shanliang Jiang
b705686a86 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:40:02 +02:00
Vladimir Kozlov
652a289f75 Merge 2015-04-16 14:06:33 -07:00
Naoto Sato
5b2c289414 8076287: Performance degradation observed with TimeZone Benchmark
Reviewed-by: okutsu
2015-04-16 08:25:19 -07:00
Phil Race
041bb07b95 Merge 2015-04-15 14:28:43 -07:00
Jaroslav Bachorik
1c76dd4fbc 8077327: ThreadStackTrace.java throws exception: BlockedThread expected to have BLOCKED but got RUNNABLE
Reviewed-by: sspitsyn, dfuchs
2015-04-15 09:38:45 +02:00
David Dehaven
2ec458e126 Merge 2015-04-14 12:10:01 -07:00
David Dehaven
8130b5c80f Merge 2015-04-14 10:15:54 -07:00
Vladimir Ivanov
4097393258 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:12 +03:00
Hendrik Schreiber
31ec6e06ef 8076106: [macosx] Drag image of TransferHandler does not honor MultiResolutionImage
Reviewed-by: serb, alexsch
2015-04-14 14:47:40 +04:00
Dmitry Markov
b29fb12ad4 8073453: Focus doesn't move when pressing Shift + Tab keys
Reviewed-by: alexsch, ant
2015-04-14 15:24:10 +04:00
Xueming Shen
a0fedc8556 8077640: DateTimeFormatter does not parse/accept the era.toString() result from MinguoEra/ThaiBuddhistEra
To parse and accept the era.toString() for era parsing in lenient/smart mode

Reviewed-by: rriggs
2015-04-13 11:15:41 -07:00
Jaroslav Bachorik
77b5a0e6c0 8076050: java/lang/management/ThreadMXBean/ThreadMXBeanStateTest.java fails intermittently
Reviewed-by: sla
2015-04-13 09:43:12 +02:00
Pooja Chopra
2fd5531d45 8076151: [TESTBUG] Test java/awt/FontClass/CreateFont/fileaccess/FontFile.java fails
Reviewed-by: alexsch, azvegint
2015-04-10 11:35:49 +03:00
Chris Hegarty
7e6f12e6e9 8076442: Cannot fully read BitSet.stream() if bit Integer.MAX_VALUE is set
Reviewed-by: alanb, henryjen
2015-04-07 10:33:08 +01:00
Xueming Shen
2de64493a2 8076641: getNextEntry throws ArrayIndexOutOfBoundsException when unzipping file
To add extra sanity check for entry extra data

Reviewed-by: alanb
2015-04-06 13:41:10 -07:00
Phil Race
475ef86eea Merge 2015-04-06 10:35:59 -07:00
Semyon Sadetsky
5197d1c01a 8072769: System tray icon title freezes java
Reviewed-by: serb, alexsch
2015-04-06 19:09:18 +04:00
Calvin Cheung
99f902972c Merge 2015-04-03 13:46:22 -07:00
Chris Hegarty
1392515988 8076644: MulticastSendReceiveTests.java fails with NumberFormatException due to network interference
Reviewed-by: alanb
2015-04-03 16:09:49 +01:00
Daniel D. Daugherty
f4060f076d Merge 2015-05-16 13:22:40 -07:00
Jaroslav Bachorik
15fffb90d7 8046869: Several java/lang/instrument/PremainClass/* tests fail due to timeout
Reviewed-by: sla
2015-05-13 10:17:38 +02:00
Jaroslav Bachorik
4d07222b01 8074368: ThreadMXBean.getThreadInfo() corrupts memory when called with empty array for thread ids
Reviewed-by: mchung
2015-04-03 15:39:38 +02:00
Brent Christian
6c5d70bfbc 8071667: HashMap.computeIfAbsent() adds entry that HashMap.get() does not find
Throw ConcurrentModificationException from computeIfAbsent() & friends

Reviewed-by: chegar, psandoz
2015-04-02 12:33:03 -07:00
Sergey Bylokhov
e1bdbfa0e0 8074500: java.awt.Checkbox.setState() call causes ItemEvent to be filed
Reviewed-by: alexsch, azvegint
2015-04-02 19:53:53 +03:00
Daniel Fuchs
ce950c0798 7113878: LogManager - namedLoggers should be ConcurrentHashMap instead of Hashtable
NamedLoggers is now a ConcurrentHashMap. findLogger is updated to take benefit of the change.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, lancea, martin, mchung, plevart
2015-04-02 16:24:46 +02:00
Daniel Fuchs
679db144e5 8075810: LogManager.readConfiguration may throw undocumented IllegalArgumentException
LogManager.readConfiguration will wrap the IllegalArgumentException thrown by Properties.load inside an IOException.

Reviewed-by: lancea, mchung, rriggs
2015-04-02 11:42:07 +02:00
Laurent Bourgès
8377d7ebd6 8076419: Path2D copy constructors and clone method propagate size of arrays from source path
Reviewed-by: flar, prr
2015-04-01 11:23:47 -07:00
David Dehaven
b91f622563 Merge 2015-03-31 16:23:01 -07:00
David Dehaven
b30c48a154 Merge 2015-03-31 16:17:17 -07:00
Martin Buchholz
a194da7ffb 8076105: java/util/zip/EntryCount64k.java failing after push for JDK-8073158
Fix Windows newline problem; write enclosing class file for MacOSX

Reviewed-by: sherman, alanb
2015-03-30 09:46:05 -07:00
Anton Nashatyrev
68aa2c14c2 8071668: [macosx] Clipboard does not work with 3rd parties Clipboard Managers
Reviewed-by: ant, serb
2015-03-30 18:41:51 +03:00
Masayoshi Okutsu
90e30c53bc 8075548: SimpleDateFormat formatting of "LLLL" in English is incorrect; should be identical to "MMMM"
Reviewed-by: naoto
2015-03-30 16:31:18 +09:00
Harold Seigel
e86e812a29 Merge 2015-03-29 09:21:15 -04:00
Katja Kantserova
2d4a9917d5 8075820: java/lang/management/ThreadMXBean/FindDeadlocks.java should be unquarantined
Reviewed-by: jbachorik, sspitsyn
2015-03-25 12:39:48 +01:00
Alexander Scherbatiy
a5bc56dcec 8075244: [macosx] The fix for JDK-8043869 should be reworked
Reviewed-by: prr, serb, ant
2015-03-25 12:37:36 +04:00
David Dehaven
6eb7a3db58 Merge 2015-03-24 11:00:32 -07:00
Lev Priima
2b63b5d1d7 8075071: [TEST_BUG] TimSortStackSize2.java: OOME: Java heap space: MaxHeap shrinked by MaxRAMFraction
Reviewed-by: dholmes
2015-03-24 03:46:57 -04:00
Roger Riggs
a056457b52 8067796: (process) Process.waitFor(timeout, unit) doesn't throw NPE if timeout is less than, or equal to zero when unit == null
Implement checking for NPE in Process implementation before other conditions

Reviewed-by: martin, chegar
2015-03-23 10:13:32 -04:00
Joe Darcy
07cd371738 8075670: Remove intermittent keyword from some tests
Reviewed-by: alanb
2015-03-23 09:45:32 -07:00
Zaiyao Liu
35c411ea7e 8048618: Tests for PKCS12 write operations
Reviewed-by: weijun
2015-03-23 15:37:03 +08:00
Brian Burkhalter
1eb4f850a6 8075655: NIO test generation scripts have incorrect path to Spp.java
Correct the path to Spp.java

Reviewed-by: rriggs
2015-03-20 15:25:07 -07:00
Daniel D. Daugherty
4fd6cf3759 Merge 2015-03-20 15:21:51 -07:00
Brian Burkhalter
d7419560c2 8075362: j.u.Properties.load() methods have misaligned @throws clauses
Add spaces to align the @throws clauses, and rename Basic.java test and its @summary clause.

Reviewed-by: rriggs
2015-03-20 10:37:03 -07:00
Serguei Spitsyn
40807f0a8e 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Update java/lang/instrument/RedefineMethodInBacktrace.sh test to cover the hotspot fix

Reviewed-by: coleenp, dcubed
2015-03-20 01:59:08 -07:00
Joe Darcy
2596979bfe 8075565: Define @intermittent jtreg keyword and mark intermittently failing jdk tests
Reviewed-by: lancea
2015-03-19 18:38:26 -07:00
Yuri Nesterenko
7b4b132f80 8074807: Fix some tests unnecessary using internal API
Reviewed-by: azvegint, alexsch
2015-03-18 10:30:22 +03:00
Naoto Sato
ca08065c34 8074350: Support ISO 4217 "Current funds codes" table (A.2)
8074351: Support for currencies with the 4 digits (or more) minor unit

Reviewed-by: okutsu
2015-03-17 16:04:26 -07:00
Phil Race
391adb65e0 Merge 2015-03-17 14:38:54 -07:00
Phil Race
9dbd9dd373 Merge 2015-03-17 12:30:53 -07:00
Xueming Shen
f3a2e4480d 8074678: JCK test java_util/regex/MatchResult/index.html starts failing after JDK-8071479
To add non-match sanity check

Reviewed-by: psandoz
2015-03-17 09:54:36 -07:00
Alejandro Murillo
d898b500d9 Merge 2015-03-16 14:27:36 -07:00
Amy Lu
b8770ac035 8075111: Mark testFlatMappingClose (from CollectorsTest) as serialization hostile
Reviewed-by: psandoz
2015-03-16 10:24:16 +01:00
Aggelos Biboudis
cb566c6ce5 8067969: Optimize Stream.count for SIZED Streams
Reviewed-by: psandoz, chegar
2015-03-16 10:19:49 +01:00
Brian Burkhalter
6290291b27 8075110: (prefs) CodePointZeroPrefsTest fails on certain platforms
Contrain test to the Linux and Solaris OS families

Reviewed-by: darcy
2015-03-13 15:03:42 -07:00
Brian Burkhalter
17f8ee8cf0 8073214: javadoc of Properties methods should specify NullPointerExceptions
Add test for null parameter and corresponding throws clause to load() methods

Reviewed-by: darcy
2015-03-13 14:54:40 -07:00
Alejandro Murillo
d9955b1c00 Merge 2015-03-12 19:51:36 -07:00
Sergey Bylokhov
3c9eab317a 8074668: [macosx] Mac 10.10: Application run with splash screen has focus issues
Reviewed-by: prr, ant, alexsch
2015-03-12 08:57:51 -07:00
Phil Race
cac7e38c8d Merge 2015-03-11 08:30:40 -07:00
Nakul Natu
741e72173c 8066436: Minimize can cause window to disappear on osx
Reviewed-by: serb, azvegint
2015-03-10 21:48:37 +03:00
Jaroslav Bachorik
1c5857f8dd 6712222: Race condition in java/lang/management/ThreadMXBean/AllThreadIds.java
Reviewed-by: dholmes, dfuchs
2015-03-10 09:37:56 +01:00
Phil Race
6cd9e14e45 Merge 2015-03-09 09:49:31 -07:00
Xueming Shen
011b337a51 8074406: DateTimeFormatter.appendZoneOrOffsetId() fails to resolve a ZoneOffset for OffsetDateTime
To support resolve OffsetDateTime from DTF.appendZoneOrOffset()

Reviewed-by: rriggs
2015-03-07 10:11:03 -08:00
Brian Burkhalter
f9a9e68c05 8074460: Always print seeds used in [Splittable]Random instances in java.math tests
Create a utility class which creates a pseudorandom number generator (PRNG) and retains the seed. Use this class in java.math tests which use a PRNG. Always print the seed value before the PRNG is used.

Reviewed-by: darcy
2015-03-06 16:00:58 -08:00
Alejandro Murillo
90a9d497fa Merge 2015-03-06 04:58:53 -08:00
Chris Hegarty
9e0c46f629 8005226: java/rmi/transport/pinClientSocketFactory/PinClientSocketFactory.java fails intermittently
Reviewed-by: rriggs, smarks
2015-03-05 17:04:47 +00:00
Chris Hegarty
0ade1fd974 8068260: java/io/Serializable/clearHandleTable/ClearHandleTable.java timed out
Reviewed-by: rriggs, smarks
2015-03-05 09:38:45 +00:00
Yuri Nesterenko
0803af98c7 8074092: Newly introduced unnecessary dependencies on internal API in client regtests
Reviewed-by: serb, azvegint
2015-03-05 11:07:48 +03:00
Martin Buchholz
8ab93c84ec 8073158: zip files with total entry count 0xFFFF need not be ZIP64 files
Minor rewrite of crufty zip implementation in parse_manifest.c

Reviewed-by: sherman
2015-03-25 15:36:43 -07:00
Paul Sandoz
b220e6cb1d 8075307: Pipeline calculating inconsistent flag state for parallel stateful ops
Reviewed-by: smarks
2015-03-25 10:50:08 +00:00
Alejandro Murillo
f245610f7f Merge 2015-03-10 14:20:06 -07:00
Alejandro Murillo
8b283998c2 Merge 2015-03-10 14:09:19 -07:00
Roger Riggs
367a429ff4 8058464: (process spec) ProcessBuilder.redirectXXX throws unspecified NPE
Add a class level spec for null arguments throwing NPE in ProcessBuilder

Reviewed-by: martin, alanb
2015-03-10 16:44:45 -04:00
Brian Burkhalter
bd61d670c3 8073445: (fs) FileSystem.getPathMatcher(...) should check syntax component without regard to case
Change String equals() to equalsIgnoreCase() where needed.

Reviewed-by: alanb
2015-03-04 15:05:41 -08:00
Zaiyao Liu
7b95618234 8050371: More MessageDigest tests
Reviewed-by: xuelei
2015-03-04 08:10:23 +00:00
Amanda Jiang
a1f3c2d2fe 8048360: Test signed jar files
Reviewed-by: weijun
2015-03-04 10:12:25 +08:00
Phil Race
9f78b4347e Merge 2015-03-03 08:49:13 -08:00
Paul Sandoz
0405de7fca 8071479: Stream and lambdafication improvements to j.u.regex.Matcher
Reviewed-by: smarks, briangoetz, sherman
2015-03-03 12:30:48 +01:00
Daniel Fuchs
9b5f69fa24 8074032: Instant.ofEpochMilli(millis).toEpochMilli() can throw arithmetic overflow in toEpochMilli()
Instant.toEpochMilli() now takes into account the sign of the 'seconds' field.

Reviewed-by: rriggs, scolebourne
2015-03-02 14:46:10 +01:00
Christian Tornqvist
b520218d57 Merge 2015-03-02 05:32:14 -08:00
Claes Redestad
c8e99e3610 8073497: Lazy conversion of ZipEntry time
Reviewed-by: sherman, plevart
2015-02-28 13:17:13 +01:00
Brian Burkhalter
03088bb6e6 8071599: (so) Socket adapter sendUrgentData throws IllegalBlockingMode when channel configured non-blocking
Remove restriction to blocking case

Reviewed-by: alanb, chegar
2015-02-27 14:36:03 -08:00
Vladimir Ivanov
284a867adc 8073644: Assertion in LambdaFormEditor.bindArgumentType is too strict
Reviewed-by: psandoz
2015-02-27 18:03:21 +03:00
Paul Sandoz
95b2455d16 8071600: Add a flat-mapping collector
Reviewed-by: smarks, chegar, briangoetz
2015-02-27 09:58:25 +01:00
Lev Priima
ff45a0b5b0 8073354: TimSortStackSize2.java: test cleanup: make test run with single argument
Reviewed-by: dholmes
2015-02-26 18:50:02 -05:00
Xueming Shen
7f950ef63d 8073924: Update test/java/nio/charset/Charset/NIOCharsetAvailability.java to work with module system
To use module's runtime filesystem to iterate the class files

Reviewed-by: alanb
2015-02-26 14:40:43 -08:00
Sean Coffey
79240eab9b 8071447: IBM1166 Locale Request for Kazakh characters
Reviewed-by: sherman
2015-02-26 09:36:30 +00:00
Daniel Fuchs
fc084beb84 8072645: java.util.logging should use java.time to get more precise time stamps
J.u.logging uses j.t.Instant to store LogRecord time stamps. XMLFormatter format is updated to allow for a new optional <nanos> element containing a nano second adjustment. SimpleFormatter passes a ZonedDateTime object to String.format. LogRecord getMillis/setMillis are deprecated, replaced by getInstant/setInstant.

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: scolebourne, plevart, rriggs
2015-02-25 18:41:07 +01:00
Joel Borggrén-Franck
cdf8c27ddb 8014678: Spurious AccessControlException thrown in java.lang.Class.getEnclosingMethod()
Reviewed-by: ahgross, mchung, psandoz
2015-02-25 14:30:02 +01:00