Commit Graph

2598 Commits

Author SHA1 Message Date
Michael McMahon
e90c029bad 8036979: Support java.net.SocketOption<> in java.net socket types
Reviewed-by: alanb, chegar
2014-04-12 20:21:09 +01:00
Sean Coffey
c34e0869d0 8038491: Improve synchronization in ZipFile.read()
Reviewed-by: alanb, chegar
2014-04-10 20:01:52 +01:00
Jeremy Manson
55d8dc5d85 8039124: j.u.regex.Matcher.appendReplace/Tail() should support StringBuilder variant
To add the StringBuilder variant

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: alanb, sherman
2014-04-09 09:36:19 -07:00
Pavel Reppo
f4f394efb5 8037396: URI getQuery() and getFragment() don't decode properly
Reviewed-by: chegar, michaelm
2014-04-07 15:40:05 +01:00
Ivan Gerasimov
65a18434e7 8038333: TEST_BUG: java/lang/ref/EarlyTimeout.java fails with a non-adequate message
Reviewed-by: mchung
2014-04-02 12:17:25 +04:00
Phil Race
ee35591283 Merge 2014-04-01 11:53:08 -07:00
Phil Race
7639b17cc9 Merge 2014-04-01 09:12:51 -07:00
Phil Race
7d52305559 8038723: Openup some PrinterJob tests
Reviewed-by: jgodinez
2014-03-31 11:13:01 -07:00
Chris Hegarty
804d26e749 8025209: Intermittent test failure java/net/Socket/asyncClose/AsyncClose.java
Co-authored-by: Eric Wang <yiming.wang@oracle.com>
Reviewed-by: chegar
2014-03-31 11:33:40 +01:00
Petr Pchelko
33a7783be5 8032595: [macosx] setResizable(false) makes a frame slide down
Reviewed-by: serb, ddehaven, azvegint
2014-03-26 17:01:22 +04:00
Konstantin Shefov
ba63fad3f1 8031422: [TEST_BUG] java/awt/Paint/bug8024864.java fails on Windows 7
Reviewed-by: pchelko, azvegint
2014-03-25 18:23:59 +04:00
Phil Race
32ee4129bf Merge 2014-03-24 10:43:59 -07:00
Paul Sandoz
0ba46cd40c 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex
Reviewed-by: alanb
2014-03-24 17:07:08 +01:00
Alan Bateman
252aa24c76 8037945: Paths.get("").normalize() throws ArrayIndexOutOfBoundsException
Reviewed-by: chegar
2014-03-24 15:09:47 +00:00
Ivan Gerasimov
be3c17a489 6943190: TEST_BUG: some tests in java/lang/Runtime/exec have hard-coded path to shell commands
Reviewed-by: martin, rriggs, alanb
2014-03-24 14:14:03 +04:00
Konstantin Shefov
b2db801ee9 7161320: TEST_BUG: java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java fails (Invalid key code)
Reviewed-by: pchelko, serb
2014-03-21 17:36:37 +03:00
Konstantin Shefov
795e3203c5 8030640: [TEST_BUG] java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh fails with exit code 2
Reviewed-by: pchelko, serb, anthony
2014-03-21 16:32:26 +04:00
Konstantin Shefov
d8901d1799 8022531: [TEST_BUG] After double-click on the folder names , there is no 'OK' button in the dialog
Reviewed-by: pchelko, azvegint, serb
2014-03-21 15:25:42 +04:00
Petr Pchelko
dd01e38812 8031765: Child process error stream is not empty!
Reviewed-by: anthony, serb
2014-03-20 17:34:27 +04:00
Phil Race
2ab0405188 Merge 2014-03-19 11:13:35 -07:00
Petr Pchelko
13a9b31a66 8037776: [macosx] Swing app fails to exit after last window is disposed when security manager is enabled
Reviewed-by: anthony, serb
2014-03-19 18:27:31 +04:00
Sergey Bylokhov
e59617293b 7124255: [macosx] java.awt.List: method select(int) doesn't work before be visible
Reviewed-by: pchelko, azvegint
2014-03-19 16:13:59 +04:00
Rajan Halade
56b41822fb 8033271: Manual security tests have @ignore rather than @run main/manual
Reviewed-by: xuelei, wetmore
2014-03-18 15:04:59 -07:00
Alexander Scherbatiy
a246384219 8035069: [macosx] Loading resolution variants by demand
Reviewed-by: serb, pchelko
2014-03-18 14:48:47 +04:00
Paul Sandoz
761e2c85b3 8037106: Optimize Arrays.asList(...).forEach
Reviewed-by: alanb, martin, mduigou, ulfzibis
2014-03-18 11:24:38 +01:00
Volker Simonis
02186906ef 8037013: [TESTBUG] Fix test/java/lang/ClassLoader/Assert.sh on AIX
Reviewed-by: mchung, alanb
2014-03-18 11:10:53 +01:00
Petr Pchelko
a3cc5f5cf3 8037371: [macosx] Test closed/java/awt/dnd/ImageTransferTest/ImageTransferTest.html fails
Reviewed-by: anthony, serb
2014-03-14 17:48:28 +04:00
Artem Smotrakov
727989dc5d 8028591: NegativeArraySizeException in sun.security.util.DerInputStream.getUnalignedBitString()
Reviewed-by: mullan, weijun
2014-03-13 15:13:22 +08:00
Ivan Gerasimov
106b5b9af8 7011804: SequenceInputStream with lots of empty substreams can cause StackOverflowError
Reviewed-by: chegar, alanb
2014-03-13 07:52:17 +04:00
Mandy Chung
da3781e49b 8035807: Convert use of sun.misc.BASE64Encoder/Decoder with java.util.Base64
Reviewed-by: alanb, vinnie, sherman, msheppar
2014-04-22 15:16:37 -07:00
Claes Redestad
bdad6d51d4 8040747: Improve performance of IP address parsing
Co-authored-by: Bernd Eckenfels <bernd-2014@eckenfels.net>
Reviewed-by: mduigou, chegar
2014-04-22 16:21:43 +02:00
Lance Andersen
48160e4d08 8041331: Cleanup files for jtreg and windows
Reviewed-by: rriggs, smarks, chegar
2014-04-22 08:57:01 -04:00
Alexandre Iline
e613bf3290 8039816: Some tests depend on internal API sun.security.action.GetPropertyAction
Replace sun.security.action.GetPropertyAction usages with lambda expressions creating java.security.PrivilegedAction.

Reviewed-by: alanb, mchung, chegar
2014-04-21 13:16:32 -07:00
Alexandre Iline
092e29980a 8039438: Some tests depend on internal API sun.misc.IOUtils
Remove dependency on sun.misc.IOUtils.readFully(InputStream, int, boolean)

Reviewed-by: alanb, mchung, chegar
2014-04-21 13:12:22 -07:00
Stephen Colebourne
e66fbbceaf 8040058: IsoFields.WEEK_BASED_YEAR adjustInto incorrect and WeekFields.weekOfWeekBasedYear().range incorrect
Reviewed-by: lancea, rriggs
2014-04-12 14:54:44 +01:00
Lance Andersen
d3bdb3c598 8040760: Addition of new java.sql tests
Reviewed-by: rriggs
2014-04-18 17:37:13 -04:00
Brian Burkhalter
f707a2fd5a 8027595: Enable BigInteger overflow tests in JTREG
Remove space in @test tags, remove OOME catches, add @run tag for StringConstructorOverflow.

Reviewed-by: mduigou
2014-04-18 14:03:46 -07:00
Roger Riggs
82f7b6b88e 8038823: Missing @Test annotation and copyright in java.time tests
Reviewed-by: lancea
2014-04-18 15:37:22 -04:00
Ivan Gerasimov
0688bf058d 8038982: java/lang/ref/EarlyTimeout.java failed again
Reviewed-by: mchung
2014-04-18 18:46:50 +04:00
Weijun Wang
fa14289859 8040769: add a comment to the NewInstance test
Reviewed-by: wetmore
2014-04-17 09:48:21 +08:00
Mattias Tobiasson
1121030e24 8030628: Update java/lang/management/MemoryMXBean tests to ignore GC setting by jtreg
Reviewed-by: mchung, jbachorik
2014-04-16 12:40:19 -07:00
Ivan Gerasimov
d3271335ad 8034262: Test java/lang/ProcessBuilder/CloseRace.java fails
Reviewed-by: martin, dholmes
2014-03-12 21:45:20 +04:00
Mike Duigou
673910ef2f 8037097: Improve diagnosability of test failures for java/util/Arrays/Correct.java
Reviewed-by: mchung, alanb
2014-03-11 15:25:45 -07:00
Brian Burkhalter
0f8476eff8 8041683: Catch OutOfMemoryError in BitLengthOverflow and DoubleValueOverflow
Java/math/BigInteger/BitLengthOverflow.java failing with OOME

Reviewed-by: alanb
2014-04-29 09:42:16 -07:00
Phil Race
aefe9165d7 Merge 2014-03-11 10:46:38 -07:00
Vladimir Ivanov
9d59eb2da1 8036117: MethodHandles.catchException doesn't handle VarargsCollector right (8034120 failed)
Reviewed-by: jrose, twisti
2014-03-11 19:54:33 +04:00
Jaroslav Bachorik
c174f6339a 8034168: ThreadMXBean/Locks.java failed, blocked on wrong object
Reviewed-by: martin, dholmes
2014-03-11 14:18:46 +01:00
Phil Race
810d636e87 Merge 2014-03-07 13:04:49 -08:00
Phil Race
f20478bb72 Merge 2014-03-07 10:53:58 -08:00
Stuart Marks
2e0600a5c0 8036095: RMI tests using testlibrary.RMID and testlibrary.JavaVM do not pass through vmoptions
Reviewed-by: alanb
2014-03-06 14:26:26 -08:00
Stephen Colebourne
efc809c16a 8036818: DateTimeFormatter withResolverFields() fails to accept null
Reviewed-by: chegar, rriggs
2014-03-06 17:31:07 +00:00
Mattias Tobiasson
5b046a555f 8038822: java/lang/management/MemoryMXBean/LowMemoryTest2.sh still fails with OutOfMemoryError: Metaspace
Force a GC when usage above threshold. Add more logging.

Reviewed-by: dfuchs
2014-04-04 13:01:26 +02:00
Dmitry Markov
ae34f472f6 8032872: [macosx] Cannot select from JComboBox in a JWindow
Reviewed-by: pchelko, ant
2014-03-06 17:13:55 +04:00
Petr Pchelko
2e800053d0 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
Reviewed-by: anthony, serb
2014-03-06 12:18:31 +04:00
Alexander Scherbatiy
fda7650f43 8033534: [macosx] Get MultiResolution image from native system
Reviewed-by: serb, pchelko
2014-03-04 17:06:00 +04:00
Mattias Tobiasson
8a385b110f 8031065: java/lang/management/MemoryMXBean/LowMemoryTest2.sh fails: OutOfMemoryError: Metaspace
Load classes until getUsageThresholdCount() > 0 instead of isUsageThresholdExceeded().

Reviewed-by: dfuchs, sjiang, sla
2014-03-04 09:35:54 +01:00
Robert Field
2e148fb065 8035776: Consistent Lambda construction
Reviewed-by: ahgross, briangoetz, dlsmith
2014-03-04 15:33:30 -08:00
Mattias Tobiasson
c96fd46a4c 6625574: java/lang/management/MemoryMXBean/Pending.java fails: "pending finalization = 0 but expected > 0"
Move local objs variable to a static public so the the optimizer will not remove it unexpectedly.

Reviewed-by: sla
2014-02-28 13:38:51 +01:00
Eric Wang
9d91b009c1 8035633: TEST_BUG: java/net/NetworkInterface/Equals.java and some tests failed on windows intermittently
Reviewed-by: chegar, alanb, igerasim
2014-03-03 11:06:38 +00:00
Chris Hegarty
558cb26d1c 8035897: Better memory allocation for file descriptors greater than 1024 on macosx
Reviewed-by: michaelm
2014-03-02 19:27:43 +00:00
Alan Bateman
22bc40c071 8010194: java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh fails with "Timed out waiting ..." (sol)
Reviewed-by: chegar
2014-03-02 15:56:07 +00:00
Vladimir Ivanov
856f5c5823 8027827: Improve performance of catchException combinator
8034120: MethodHandles.catchException doesn't handle VarargsCollector right

Reviewed-by: lagergren, psandoz, jrose
2014-03-01 02:05:53 +04:00
Brent Christian
c92ff7d5e7 6835233: Fedora 9 jdk regression test failed: java/lang/instrument/ParallelTransformerLoader.sh
Remove @ignore from ParallelTransformerLoader.sh

Reviewed-by: alanb, sla, smarks
2014-02-28 10:27:54 -08:00
Phil Race
5d277802e1 Merge 2014-02-27 10:43:53 -08:00
Ivan Gerasimov
e66ea0fddc 6853696: (ref) ReferenceQueue.remove(timeout) may return null even if timeout has not expired
Reviewed-by: mchung, mduigou, rriggs
2014-02-27 02:44:04 +04:00
Stuart Marks
4a47af288d 8034999: change rmidRunning to a simple lookup
Reviewed-by: darcy
2014-02-26 18:22:56 -08:00
Michael McMahon
814e8d0479 8035653: InetAddress.getLocalHost crash
Reviewed-by: chegar
2014-02-26 16:18:08 +00:00
Alexander Zvegintsev
c45342182e 8017472: [macosx] Transparency demo is not correctly dragged on the second monitor
Reviewed-by: pchelko, serb
2014-02-25 14:28:36 +04:00
Vladimir Ivanov
b47c2517ad 8037210: Get rid of char-based descriptions 'J' of basic types
Reviewed-by: jrose, psandoz, twisti
2014-02-24 18:11:55 +04:00
Ivan Gerasimov
73995e8591 8043476: java/util/BitSet/BSMethods.java failed with: java.lang.OutOfMemoryError: Java heap space
Reviewed-by: alanb
2014-05-26 19:59:28 +04:00
Phil Race
f00ad07a65 Merge 2014-02-21 10:03:49 -08:00
Anton Litvinov
4207a72caf 8032078: [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED|MAXIMIZED_BOTH
Reviewed-by: pchelko, serb
2014-02-21 18:04:38 +04:00
Vladimir Ivanov
56bce7519d 8032585: JSR292: IllegalAccessError when attempting to invoke protected method from different package
8033278: Missed access checks for Lookup.unreflect* after 8032585

Reviewed-by: jrose, twisti
2014-02-21 17:12:23 +04:00
Sergey Malenkov
8fff62161c 8034085: Do not prefer indexed properties
Reviewed-by: alexsch
2014-02-21 15:34:05 +04:00
Phil Race
3b1cc58576 Merge 2014-02-20 16:27:08 -08:00
Xueming Shen
65263943ae Merge 2014-02-20 09:57:26 -08:00
Xueming Shen
e2a87a0e2c 8035076: Pattern$BnMS never used due to bug in Pattern$BnM.optimize
Updated SliceS to subclass Slice node

Reviewed-by: alanb, martin
2014-02-20 09:52:50 -08:00
Naoto Sato
7cb914ecd2 8027289: [Windows zh_CN] NumberFormat: Incorrect sequence of loading currency symbol
Reviewed-by: erikj
2014-02-19 09:17:28 -08:00
Konstantin Shefov
f37265f360 8017456: [TEST_BUG] java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html: test frames remain after test execution
Reviewed-by: serb, alexsch
2014-02-17 18:52:01 +04:00
Sergey Malenkov
57f20fcdc9 8034164: Introspector ignores indexed part of the property sometimes
Reviewed-by: alexsch
2014-02-14 20:24:43 +04:00
Oleg Pekhovskiy
96fa90a545 8031694: [macosx] TwentyThousandTest test intermittently hangs
Reviewed-by: art, anthony
2014-02-13 14:45:58 +04:00
Phil Race
516c0ad2bd Merge 2014-02-11 14:42:17 -08:00
Daniel Fuchs
2f7d6e1157 8029876: Add a test to verify that Logger.getLogger & LogManager.getLogManager don't throw NPE when System.out == null
Adds a new test that verifies that the suspected root cause of JDK-8025512 does not cause NPE to be thrown.

Reviewed-by: mchung
2014-02-11 12:23:28 +01:00
Alan Bateman
804f3e85f3 8034175: Remove use of UseVMInterruptibleIO from tests
Reviewed-by: chegar
2014-02-11 10:49:07 +00:00
Rob McKenna
77bcb60eee 7152892: some jtreg tests fail with permission denied
Reviewed-by: coffeys
2014-02-10 14:35:42 +00:00
Henry Jen
e956dc0c43 8033590: java.util.Comparator::thenComparing has unnecessary type restriction
Reviewed-by: psandoz
2014-02-06 10:30:18 -08:00
Xueming Shen
8cdace2575 8032012: String.toLowerCase/toUpperCase performance improvement
Updated the implementation to improve the performance

Reviewed-by: psandoz, forax
2014-02-07 09:04:17 -08:00
Oleg Pekhovskiy
d0df7fb561 8020443: Frame is not created on the specified GraphicsDevice with two monitors
Reviewed-by: serb, azvegint, pchelko
2014-02-06 19:03:36 +04:00
Daniel Fuchs
11c56780a4 8033542: test/java/util/logging/SimpleLogManager might let Loggers be gc'ed too early
Fix another case of potentially premature Logger garbage collection in tests.

Reviewed-by: mchung
2014-02-05 17:56:04 +01:00
Lana Steuck
c674b61761 Merge 2014-02-04 16:24:39 -08:00
Joe Darcy
1c57114347 8033416: Remove sun.misc.FpUtils
Reviewed-by: alanb, bpb, psandoz
2014-02-03 09:52:36 -08:00
Alan Bateman
0abb2b14ed 8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option
Reviewed-by: michaelm
2014-02-03 14:18:45 +00:00
Chris Hegarty
936e416310 8011645: CopyOnWriteArrayList.COWSubList.subList does not validate range properly
Reviewed-by: martin, psandoz
2014-01-31 18:32:07 +00:00
Naoto Sato
e72d99fef1 8030696: Norwegian locales nb_NO and nn_NO should be available locales
Reviewed-by: okutsu
2014-01-31 10:04:16 -08:00
Qi Zuo
d701a3751b Merge 2014-01-30 10:36:40 -05:00
Ivan Gerasimov
592907e7f2 8027348: (process) Enhancement of handling async close of ProcessInputStream
Reviewed-by: martin
2014-01-30 00:02:46 +04:00
Eric Wang
ba68b878a0 8031179: update RMI tests to declare othervm explicitly
The /othervm declaration should be added to all the RMI tests and the RMI directories removed from the othervm.dirs property

Reviewed-by: smarks
2014-01-29 22:18:46 -08:00
Jaroslav Bachorik
9e782fae6d 8031701: java/lang/management/ThreadMXBean/Locks.java: Thread WaitingThread is expected to wait on Object but got null Thread.State = RUNNABLE
Reviewed-by: mchung, dsamersoff
2014-01-29 17:37:40 +01:00
Oleg Pekhovskiy
4b69521b63 8013116: Robot moves mouse to point which differs from set in mouseMove on Unity shell
Reviewed-by: serb, azvegint
2014-01-29 18:32:10 +04:00
Petr Pchelko
c91508a464 8031964: [macosx] Dragging images from the browser does not work
Reviewed-by: anthony, serb
2014-01-29 16:50:22 +04:00