Commit Graph

3380 Commits

Author SHA1 Message Date
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
Sean Coffey
6d78b91ac9 7178362: Socket impls should ignore unsupported proxy types rather than throwing
Reviewed-by: chegar
2015-02-25 11:44:53 +00:00
Serguei Spitsyn
a3c0889315 8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
Add new test java/lang/instrument/ManyMethodsBenchmarkAgent.java

Reviewed-by: coleenp, dcubed
2015-02-25 01:02:04 -08:00
Daniel Fuchs
2390a77789 8073394: Clock.systemUTC() should return a constant
Clock.systemUTC() now returns SystemClock.UTC

Reviewed-by: scolebourne, rriggs, plevart, lancea
2015-02-24 21:51:45 +01:00
Jeremy Manson
d1225ad485 6588467: Add isDaemon() and getPriority() to ThreadInfo
Reviewed-by: mchung, sla, dholmes, martin
2015-02-24 09:46:29 +01:00
Phil Race
9ec44e8c16 Merge 2015-02-23 10:47:32 -08:00
Chris Hegarty
b7d0702188 8064924: Update java.net.URL to work with modules
Reviewed-by: alanb, plevart, psandoz
2015-02-23 15:48:20 +00:00
Claes Redestad
16989e7b17 8068790: ZipEntry/JarEntry.setCreation/LastAccessTime(null) don't throw NPE as specified
Reviewed-by: coffeys, sherman
2015-02-21 13:46:24 +01:00
Aleksey Shipilev
e0e6ce31fd 8073479: Replace obj.getClass hacks with Objects.requireNonNull
Reviewed-by: dfuchs, plevart, vlivanov
2015-02-20 18:32:10 +03:00
Mandy Chung
db4c181844 8072656: test/java/lang/reflect/Proxy/ClassRestrictions.java assumes app class loader be URLClassLoader
Reviewed-by: lancea, alanb
2015-02-18 18:14:41 -08:00
Alejandro Murillo
a68e87751a Merge 2015-02-18 09:14:48 -08:00
David Dehaven
d747007634 Merge 2015-02-17 11:50:06 -08:00
David Dehaven
c627fa5807 Merge 2015-02-17 11:44:51 -08:00
Staffan Larsen
f9c63b42ed 8025636: Hide lambda proxy frames in stacktraces
Reviewed-by: jrose, forax, jfranck, vlivanov
2015-02-17 10:09:26 +01:00
Lev Priima
a1d6f0cbcd 8073124: Tune test and document TimSort runs length stack size increase
Reviewed-by: dholmes
2015-02-16 19:16:50 -05:00
Xueming Shen
1eb1419d72 8073152: Update Standard/ExtendedCharsets to work with module system
To reorganize the standard and extendec charset configuration during build time

Reviewed-by: alanb
2015-02-16 14:53:59 -08:00
Sergey Bylokhov
18975e3676 8039269: images/cursors should not be in ${java.home}/lib
Reviewed-by: mchung, alanb, erikj
2015-02-16 20:01:17 +03:00
Alejandro Murillo
5621c4a866 Merge 2015-02-16 08:47:40 -08:00
Prasanta Sadhukhan
f4fa68a2a7 8072678: Wrong exception messages in java.awt.color.ICC_ColorSpace
Reviewed-by: prr, serb
2015-02-14 21:05:41 +03:00
Volker Simonis
137f134743 8072770: [TESTBUG] Some Introspector tests fail with a Java heap bigger than 4GB
Reviewed-by: serb
2015-02-13 19:14:44 +01:00
Paul Sandoz
a12ad15110 8069325: Pattern.splitAsStream does not return input if it is empty and there is no match
Reviewed-by: sherman
2015-02-13 11:13:30 +01:00
Paul Sandoz
4b2af9acf9 8071670: java.util.Optional: please add a way to specify if-else behavior
Reviewed-by: dfuchs, lowasser
2015-02-13 11:13:27 +01:00
Brian Burkhalter
68ef8f6035 8068373: (prefs) FileSystemPreferences writes \0 to XML storage, causing loss of all preferences
Disallow entries whose key or value contains the null control character '\u0000' from being stored in the preferences node.

Reviewed-by: psandoz, rriggs
2015-02-12 12:56:48 -08:00
Lev Priima
892b06056c 8072909: TimSort fails with ArrayIndexOutOfBoundsException on worst case long arrays
Reviewed-by: rriggs, dholmes
2015-02-12 10:34:35 -05:00
Jaroslav Bachorik
103110ad85 8069286: Unexpected count of notification in LowMemoryTest
Reviewed-by: mchung
2015-02-12 08:33:47 +01:00
Brian Burkhalter
14b8722c45 8066842: java.math.BigDecimal.divide(BigDecimal, RoundingMode) produces incorrect result
Replace divWord() with non-truncating alternatives

Reviewed-by: psandoz, darcy
2015-02-11 17:20:39 -08:00
Johannes Scheerer
b856eeaa98 8072611: (process) ProcessBuilder redirecting output to file should work with long file names (win)
Reviewed-by: rriggs, simonis
2015-02-10 10:44:38 +01:00
Alejandro Murillo
805200fc3e Merge 2015-02-10 10:09:33 -08:00
Paul Sandoz
7c67f47c4d 8050819: Please add java.util.Stream.ofNullable(T object)
Reviewed-by: alanb, smarks
2015-02-10 11:18:51 +01:00
David Dehaven
8737b37ffc Merge 2015-02-09 09:52:48 -08:00
Roger Riggs
8d8f34b9a6 8067800: Unexpected DateTimeException in the java.time.chrono.HijrahChronology.isLeapYear
Check the year range consistently with other Hijrah date years

Reviewed-by: lancea, scolebourne
2015-02-06 17:29:11 -05:00
Brian Burkhalter
980fb58833 8072495: (fs) Path.relativize() gives incorrect result for empty path on Windows
Correct handling of empty path in Windows version of relativize()

Reviewed-by: alanb, dfuchs
2015-02-06 08:05:44 -08:00
Alejandro Murillo
b49ef0ce12 Merge 2015-02-05 14:57:53 -08:00
Christian Tornqvist
f95f9bd5d1 Merge 2015-02-04 18:23:09 -08:00
Roger Riggs
ddb472a4dc 8068278: ArrayIndexOutOfBoundsException instead of DateTimeException in j.t.chrono.JapaneseChronology.eraOf()
Corrected era range check

Reviewed-by: mchung, lancea
2015-02-03 14:39:57 -05:00
Alejandro Murillo
004b407992 Merge 2015-02-03 08:45:07 -08:00
Dmitry Markov
5a65a2cc13 8064934: Incorrect Exception message from java.awt.Desktop.open()
Reviewed-by: azvegint, serb
2015-02-03 11:51:30 +04:00
Paul Sandoz
c007f0f7d4 8072030: Race condition in ThenComposeExceptionTest.java
Reviewed-by: chegar
2015-02-02 14:21:32 +01:00
Paul Sandoz
dd21d2c4db 8050820: Please add java.util.Optional.stream() to convert Optional<T> to Stream<T>
Reviewed-by: alundblad, forax, chegar, jrose
2015-02-02 14:19:12 +01:00
Alejandro Murillo
e9c6fa1317 Merge 2015-01-30 16:56:08 -08:00
Brian Burkhalter
2a8d5c46e1 6880737: (fs) FileLock constructors don't throw NPE if the channel argument is null
Throw IllegalArgumentException if the channel parameter is null

Reviewed-by: alanb
2015-01-30 12:56:12 -08:00
Katja Kantserova
45a6ed8315 8068613: Wrong number of objects pending finalization start
Repeat until expected result, instead of fail after sleep()

Reviewed-by: sla
2015-01-30 09:31:18 +01:00
Jaroslav Bachorik
2989b5405d 8071641: java/lang/management/ThreadMXBean/SynchronizationStatistics.java intermittently failed with NPE
Reviewed-by: sjiang, dfuchs
2015-01-30 22:01:32 +01:00
Brent Christian
76ace03a9e 8068578: test/java/io/Serializable/subclassGC/SubclassGC.java assumes app class loader is a URLClassLoader
Reviewed-by: alanb
2015-01-29 14:49:15 -08:00
Chris Hegarty
60fdd0dceb 8067105: Socket returned by ServerSocket.accept() is inherited by child process on Windows
Reviewed-by: alanb, igerasim
2015-01-29 20:45:30 +00:00
Yumin Qi
3f9b8313e3 Merge 2015-01-29 03:54:45 +00:00
Daniel Fuchs
b5f5424c83 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:48:59 +01:00
David Dehaven
8a1e007ca8 Merge 2015-01-28 08:14:18 -08:00
Yumin Qi
7feb08a6b4 Merge 2015-01-27 20:03:45 -08:00
Alejandro Murillo
9c766e26d8 Merge 2015-01-27 10:11:23 -08:00
David Dehaven
ce3df66ec2 Merge 2015-01-27 09:32:45 -08:00
Masayoshi Okutsu
f6262c1abc 8065178: test/java/util/ResourceBundle/Bug6287579.java needs update for per language package support
Reviewed-by: naoto, peytoia
2015-01-27 12:59:45 +09:00
Alejandro Murillo
7f85449292 Merge 2015-01-26 17:00:39 -08:00
Serguei Spitsyn
3de0140a88 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Enable the test: java/lang/instrument/IsModifiableClassAgent.java

Reviewed-by: coleenp, dcubed
2015-01-26 15:46:47 -08:00
Paul Sandoz
d58ef60b88 8071477: Better Spliterator implementations for String.chars() and String.codePoints()
Reviewed-by: sherman
2015-01-26 17:26:49 +00:00
Roger Riggs
aa6b19f38e 8071481: (Process) Merge UNIXProcess.java into ProcessImpl.java
Simplify source files for Unix Process implementation

Reviewed-by: plevart, chegar
2015-01-26 10:55:27 -05:00
Chris Hegarty
9e40bd4ad1 8071424: JCK test api/java_net/Socket/descriptions.html#Bind crashes on Windows
Reviewed-by: alanb
2015-01-26 13:46:08 +00:00
Alexander Zvegintsev
cfe8daa596 8071483: Possible case-folding collision for color/Color subdirectories of jdk/test/java/awt/
Reviewed-by: rriggs, serb
2015-01-26 12:37:20 +03:00
Phil Race
fda56d3c54 8064833: [macosx] Native font lookup uses family+style, not full name/postscript name
Reviewed-by: bae, serb
2015-01-25 15:53:46 -08:00
Konstantin Shefov
e70362baba 6933879: URISyntaxException when non-alphanumeric characters are present in scope_id
Reviewed-by: chegar
2015-01-23 15:42:06 +03:00
Sergey Bylokhov
d34b9b430c 7185221: [macosx] Regtest should not throw exception if a suitable display mode found
Reviewed-by: azvegint, ant
2015-01-23 13:47:46 +03:00
Alejandro Murillo
8a5ab5328c Merge 2015-01-22 22:42:33 -08:00
Jesper Wilhelmsson
ed183aea22 Merge 2015-01-22 12:26:25 +01:00
Peter Levart
eae923a8ae 8068427: Hashtable deserialization reconstitutes table with wrong capacity
Reviewed-by: mduigou, martin, chegar, dfuchs
2015-01-21 21:42:22 +01:00
David Dehaven
de2c792b35 Merge 2015-01-21 12:00:07 -08:00
Sergey Bylokhov
dedd4de23f 6459798: JDesktopPane,JFileChooser violate encapsulation by returning internal Dimensions
Reviewed-by: azvegint, alexsch
2015-01-21 17:54:35 +03:00
Michail Chernov
c15946fb1a 8067751: OOMEInReferenceHandler.java fails: Cleaner terminated abnormally
OOME with message "GC overhead limit exceeded". -XX:-UseGCOverheadLimit was added to avoid OOME in resource handler.

Reviewed-by: jmasa, jwilhelm
2015-01-20 13:29:26 -08:00
Anton Nashatyrev
84db836cfc 8068283: Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
Reviewed-by: ant, kizune
2015-01-20 19:26:14 +03:00
Yumin Qi
09a7d945d4 Merge 2015-01-18 11:50:10 -08:00
Sergey Bylokhov
d4887f8b66 8066132: BufferedImage::getPropertyNames() always returns null
Reviewed-by: prr, flar
2015-01-17 20:53:35 +03:00
Jaroslav Bachorik
b5ac4fe904 8064331: JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
Reviewed-by: mullan
2015-01-16 18:19:23 +01:00
Alexander Zvegintsev
3622c75cbd 8061636: Fix for JDK-7079254 changes behavior of MouseListener, MouseMotionListener
Reviewed-by: alexsch, serb
2015-01-16 13:53:44 +03:00
Alejandro Murillo
fd925c52da Merge 2015-01-15 19:23:49 -08:00
Chris Hegarty
00b2f7005d 8042581: Intermittent failure in java/net/DatagramSocket/InheritHandle.java
Reviewed-by: alanb, chegar
2015-01-15 17:05:06 +00:00
Michail Chernov
cd582fa380 8066122: CollectionUsageThreshold.java times out when run with -XX:+ExplicitGCInvokesConcurrent
CollectionUsageThreshold.java hangs due to VM performs concurrent GC with -XX:+ExplicitGCInvokesConcurrent flag, as result - notification is not received. Excluded test execution with -XX:+ExplicitGCInvokesConcurrent.

Reviewed-by: dfazunen, tschatzl
2015-01-15 19:16:17 +04:00
Paul Sandoz
083d9a2b61 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:14 +01:00
Sergey Bylokhov
f825a8256e 6475361: Attempting to remove help menu from java.awt.MenuBar throws NullPointerException
Reviewed-by: azvegint, ant
2015-01-13 17:10:28 +03:00