Commit Graph

2747 Commits

Author SHA1 Message Date
Phil Race
349b9794b1 Merge 2014-05-12 09:38:27 -07:00
Peter Levart
f7d1a7975b 8000975: (process) Merge UNIXProcess.java.bsd & UNIXProcess.java.linux (& .solaris & .aix)
Reviewed-by: alanb, rriggs, martin
2014-05-12 17:34:29 +02:00
Joel Borggrén-Franck
abd503efeb 8038994: AnnotatedType.getType() of a TypeVariable boundary without annotations return null
Reviewed-by: psandoz
2014-05-12 14:47:55 +02:00
Naoto Sato
d0dadf23c5 8041791: String.toLowerCase regression - violates Unicode standard
Reviewed-by: peytoia
2014-05-14 10:52:51 -07:00
Alan Bateman
3b959b9adf 8043119: (props) Properties.storeToXML closes output stream
Reviewed-by: lancea
2014-05-14 16:40:53 +01:00
Michael McMahon
df9743eb64 8034170: src/share/classes/sun/net/www/protocol/http/DigestAuthentication.java
Reviewed-by: chegar
2014-05-14 11:16:41 +01:00
Alan Bateman
51093931dc 8042889: (props) Properties.loadFromXML/storeToXML should consistently use the UKit parser
Reviewed-by: joehw, chegar, mchung
2014-05-13 11:03:25 +01:00
Katja Kantserova
0c78d5f9e3 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, alanb
2014-05-09 15:24:57 +02:00
Brian Burkhalter
b84fa9d0f7 8042478: Include Mersenne primes in BigInteger primality testing
Add testing of some of the Mersenne primes.

Reviewed-by: darcy
2014-05-08 16:06:43 -07:00
Petr Pchelko
5d636c2c85 8036861: Application can't be loaded fine,the save dialog can't show up
Reviewed-by: serb, azvegint
2014-05-08 19:18:36 +04:00
Thomas Ng
a94a5b4ccd Merge 2014-04-29 14:40:26 -07:00
Thomas Ng
4be63c297c Merge 2014-04-29 11:04:47 -07:00
Thomas Ng
4a5b727071 Merge 2014-04-29 09:04:02 -07:00
Yuri Nesterenko
0224281ecb 8041592: [TEST_BUG] Move 42 AWT hw/lw mixing tests to jdk
Reviewed-by: anthony, pchelko
2014-04-29 14:32:38 +04:00
Michael McMahon
5daff55f41 8041621: java/net/Inet4Address/textToNumericFormat.java fails on Solaris and Mac
Reviewed-by: chegar
2014-04-28 13:49:49 +01:00
Petr Pchelko
01e8b57668 8041987: [macosx] setDisplayMode crashes
Reviewed-by: anthony, serb
2014-04-28 16:45:43 +04:00
Yuka Kamiya
b597db519c 8042360: Subtag syntax check is incomplete in Locale.LanguageRange
Reviewed-by: naoto, okutsu
2014-05-08 08:22:25 +09:00
Brian Burkhalter
b89a5598d4 8026236: Add PrimeTest for BigInteger
Test primality verification methods in BigInteger

Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Florian Weimer <fweimer@redhat.com>
Reviewed-by: psandoz
2014-05-07 11:45:31 -07:00
Ivan Gerasimov
686936042d 8042470: (fs) Path.register doesn't throw IllegalArgumentException if multiple OVERFLOW events are specified
Reviewed-by: alanb, chegar
2014-05-07 16:50:40 +04:00
Ivan Gerasimov
b845d7541e 8011537: (fs) Path.register(..) clears interrupt status of thread with no InterruptedException
Reviewed-by: alanb
2014-05-07 09:43:40 +04:00
Paul Sandoz
b6182243e5 8042355: stream with sorted() causes downstream ops not to be lazy
Reviewed-by: mduigou
2014-05-06 10:29:59 +02:00
Ivan Gerasimov
c1e26ac310 8040806: BitSet.toString() can throw IndexOutOfBoundsException
Reviewed-by: plevart, mduigou
2014-05-06 10:28:48 +04:00
Petr Pchelko
844cf2d704 8041490: PIT: [macosx] Crash in system tray functionality check test
Reviewed-by: anthony, serb
2014-04-25 16:39:13 +04:00
Petr Pchelko
1b4d763c77 8027148: SystemFlavorMap.getNativesForFlavor returns list of native formats in incorrect order
Reviewed-by: anthony, serb
2014-04-23 17:56:05 +04:00
Sergey Malenkov
1d1194721b 8040656: Classes with overriden methods with covariant returns return random read methods
Reviewed-by: alexsch, serb
2014-04-21 20:59:59 +04:00
Dmitriy Ermashov
704f4dc113 8039279: Move awt tests to openjdk repository
Reviewed-by: pchelko, alexsch
2014-04-21 14:35:14 +04:00
Thomas Ng
c4745c1830 Merge 2014-04-16 12:42:40 -07:00
Ivan Gerasimov
c738b124d3 8039396: NPE when writing a class descriptor object to a custom ObjectOutputStream
Reviewed-by: alanb
2014-04-16 12:37:49 +04:00
Thomas Ng
404c4add66 Merge 2014-04-15 22:57:02 -07:00
Weijun Wang
ce428ecfec 8039853: Provider.Service.newInstance() does not work with current JDK JGSS Mechanisms
Reviewed-by: mullan
2014-04-16 10:39:36 +08:00
Phil Race
bf84755d46 Merge 2014-04-14 12:59:50 -07:00
Sergey Malenkov
6d6cf4d693 8039776: Introspector throws NullPointerException for subclasses' mismatched get/setter
Reviewed-by: alexsch, serb
2014-04-10 22:30:58 +04:00
Petr Pchelko
fbb2e2c782 8039083: REGRESSION: closed/java/awt/dnd/DragSourceListenerSerializationTest/DragSourceListenerSerializationTest.html fails with NPE since 8u20 b07 on Linux
Reviewed-by: serb, azvegint
2014-04-09 15:20:09 +04:00
Phil Race
bc431c1b98 Merge 2014-04-04 10:24:11 -07:00
Sergey Malenkov
002763f0fc 8039137: KSS: JTextComponent.isProcessInputMethodEventOverridden
Reviewed-by: alexsch, serb
2014-04-04 20:18:53 +04:00
Petr Pchelko
113e0a9c2f 8038999: In Java 8 java.awt.datatransfer.DataFlavor.equals is no longer symmetric
Reviewed-by: anthony, serb
2014-04-03 13:02:39 +04:00
Andrew Brygin
7f65dc344e 8019990: IM candidate window appears on the South-East corner of the display
Reviewed-by: bagiras, serb
2014-04-03 11:19:10 +04:00
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
Petr Pchelko
d6f20071f1 8032960: Running forms URL throws NullPointerException in Javaconsole
Reviewed-by: anthony, serb
2014-04-24 20:58:00 +04: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
Paul Sandoz
7a0238bfd3 8044047: Missing null pointer checks for streams
Co-authored-by: Ivan Gerasimov <ivan.gerasimov@oracle.com>
Reviewed-by: dfuchs
2014-07-16 14:35:48 +02:00
Ivan Gerasimov
e03728427a 8035975: Pattern.compile(String, int) fails to throw IllegalArgumentException
Reviewed-by: sherman
2014-07-16 13:02:24 +04:00
Alejandro Murillo
28d9b76938 Merge 2014-07-11 21:20:11 -07:00
Ivan Gerasimov
1203c8ea34 6904367: (coll) IdentityHashMap is resized before exceeding the expected maximum size
Reviewed-by: plevart, martin
2014-07-12 04:15:56 +04:00
Alejandro Murillo
52c1d16db3 Merge 2014-07-11 17:04:52 -07:00
Joe Darcy
831451c5ba 8050051: Remove unneeded/obsolete -source/-target options in shell tests
Reviewed-by: alanb
2014-07-11 14:06:42 -07:00
Alejandro Murillo
747989869c Merge 2014-07-11 13:02:40 -07:00
Valerie Peng
efa54ce543 8043406: Change default policy for JCE providers to run with as few privileges as possible
Provide default permissions for crypto providers

Reviewed-by: mullan, vinnie
2014-07-10 22:44:58 +00:00
Alejandro Murillo
c3790a3026 Merge 2014-06-27 14:21:31 -07:00
Serguei Spitsyn
ddccb62752 8048185: [TESTBUG] need a JTREG test for the fix of JDK-8042796 (OLD and/or OBSOLETE method(s) found)
Need to integrate the jtreg unit test for the fixed bug JDK-8042796

Reviewed-by: dcubed, coleenp
2014-06-26 03:26:20 -07:00
Daniel Fuchs
7c04b45666 8048913: java/util/logging/LoggingDeadlock2.java times out
Removes the /timeout=15 parameter from the @run command line

Reviewed-by: mchung, dholmes
2014-07-09 17:51:50 +02: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
Sunny Chan
9d9bc9f86d 7142035: assert in j.l.instrument agents during shutdown when daemon thread is running
Reviewed-by: sla
2014-01-28 09:33:39 -05:00
Daniel Smith
aa81fd4ead 8032697: Issues with Lambda
Reviewed-by: ahgross, briangoetz, dlsmith, rfield
2014-01-28 17:22:07 -08:00
Vladimir Kozlov
1981dde213 Merge 2014-01-28 14:58:15 -08:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Robert Field
1b02cd3f12 8032711: Issue with Lambda in handling
8032704: Issues with lib perm in Lambda

Reviewed-by: jrose, ahgross, briangoetz
2014-01-28 12:53:56 -08:00
Mandy Chung
1e80ad98e4 6760902: inconsistent behavior in system class loader for classes and resources
Reviewed-by: psandoz, ksrini
2014-01-27 16:22:08 -08:00
Shanliang Jiang
7d09fd8b12 6980984: java/lang/management/MemoryMXBean/MemoryManagement is not robust when getMax() returns -1
Reviewed-by: jbachorik, dfuchs
2014-01-23 15:17:36 +01:00
Jaroslav Bachorik
f0a718ceb0 6309226: TEST: java/lang/management/ThreadMXBean/SynchronizationStatistics.java didn't check Thread.sleep
Reviewed-by: dholmes, mchung
2014-01-23 10:06:52 +01:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Joe Darcy
6b965a6ae1 8032397: Remove sun.misc.Ref
Reviewed-by: alanb
2014-01-22 11:03:44 -08:00
Andrei Eremeev
6a9e174795 7175457: [TEST_BUG] closed/java/awt/Window/AlwaysOnTop/TestAlwaysOnTopBeforeShow.java still failed
Reviewed-by: anthony, pchelko
2014-01-22 12:49:43 +04:00
Petr Pchelko
bfc61365e0 8030050: Validate fields on DnD class deserialization
Reviewed-by: anthony, serb
2014-01-22 12:35:43 +04:00
Artem Smotrakov
f85948cc0c 8028431: NullPointerException in DerValue.equals(DerValue)
Reviewed-by: mullan
2014-01-21 16:54:26 -05:00
Sergey Bylokhov
7554f9dc43 7157680: XAWT: Native components should not paint native part on UPDATE event
Reviewed-by: anthony, pchelko
2014-01-20 20:11:09 +04:00
Daniel Fuchs
3f1dd83c32 8031980: Add new j.u.l deadlock test for JDK-8027670 and JDK-8029281
Adds a new test for the deadlock found in JDK-8027670 and fixed in JDK-8029281.

Reviewed-by: mchung
2014-01-21 14:28:13 +01:00
Jaroslav Bachorik
ea1c41f454 8032377: test/java/lang/management/ThreadMXBean/ThreadBlockedCount.java still fails intermittently
Reviewed-by: dholmes
2014-01-21 13:04:55 +01:00
Alan Bateman
c276ce4f08 8032220: Files.createDirectories throws exception with confusing message for root directories that exist
Reviewed-by: chegar
2014-01-21 09:33:48 +00:00
Petr Pchelko
90db59d13e 8032058: [TEST_BUG] [macosx] java/awt/dnd/Button2DragTest sometimes fail
Reviewed-by: anthony, serb
2014-01-20 14:23:51 +04:00
Volker Simonis
70041ae4e4 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01:00
Alexander Scherbatiy
0f6202d191 8028212: Custom cursor HiDPI support
Reviewed-by: serb, anthony
2014-01-09 18:41:00 +04:00
Alexander Scherbatiy
7e1716cfe0 8011059: [macosx] Support automatic @2x images loading on Mac OS X
Reviewed-by: serb, flar
2014-01-09 18:04:31 +04:00
Erik Joelsson
30bc289192 8030781: System.setProperties(null) drops all system properties (RELEASE not set)
Reviewed-by: alanb
2014-01-08 14:04:35 +01:00
Srikalyan Chandrashekar
b82ed208c9 6772009: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java test failed with 'Completed != 2'
Reviewed-by: martin, dholmes
2014-01-08 13:08:20 +00:00
Tristan Yan
97d83a1cd7 8030089: java/util/zip/ZipFile/FinalizeZipFile.java intermittently fails with fastdebug builds
Reviewed-by: alanb
2014-01-08 12:59:57 +00:00
Stephen Colebourne
eb34c3be0c 8035099: LocalTime.with(MILLI_OF_DAY/MICRO_OF_DAY) incorrect
Correctly zeros low order bits of time when setting milli/micro

Reviewed-by: alanb, rriggs
2014-03-06 17:16:20 +00:00
Stephen Colebourne
88af481e90 8032491: DateTimeFormatter fixed width adjacent value parsing does not match spec
Reviewed-by: lancea, rriggs
2014-03-29 15:01:47 -04:00
Igor Ignatyev
4fdcaf04d8 8038186: [TESTBUG] improvements of test j.l.i.MethodHandles
Reviewed-by: iveresov, twisti, vlivanov
2014-03-29 12:29:21 +04:00
Amanda Jiang
cbaa56fdf7 8038276: java/net/NetworkInterface/Test.java fails on Windows intermittently for Teredo Interface
Reviewed-by: chegar
2014-03-28 16:59:19 +00:00
Pavel Rappo
ea02a62024 8035158: Remove dependency on sun.misc.RegexpPool and friends
Reviewed-by: chegar, michaelm
2014-03-26 19:53:07 +00:00
Ivan Gerasimov
0c0e4775d4 8014066: Remove redundant restriction from ArrayList#removeRange() spec
Reviewed-by: chegar, dholmes, martin, mduigou
2014-03-26 15:58:37 +04:00
Michael Cui
df046b387e 8031563: TEST_BUG: java/nio/channels/Selector/ChangingInterests.java failed once
Reviewed-by: alanb
2014-03-25 10:14:09 +00:00
Stephen Colebourne
a25bcf0ac0 8033662: DateTimeFormatter parsing ignores withZone()
To include the set "zone" in resolved result

Reviewed-by: sherman, chegar
2014-03-24 12:47:02 -07:00
Anthony Scarpino
aa8188c26b 8030823: Security Providers need to have their version numbers updated for JDK9
Reviewed-by: xuelei, wetmore
2014-01-07 14:35:57 -08:00
Alexander Zuev
f4daa36dfe Merge 2014-01-20 19:11:57 +04:00
Tristan Yan
b31c05a9aa 8031666: TEST_BUG: java/net/ipv6tests/UdpTest.java failed because of SocketTimeoutException
Reviewed-by: alanb, chegar
2014-01-17 14:03:57 +00:00
Martin Buchholz
30717d9de3 8032057: Remove unneeded/obsolete -source options in concurrency tests
Reviewed-by: chegar
2014-01-17 13:54:13 +00:00
Abhijit Saha
7e9ef6dd1f Merge 2014-01-16 21:44:18 -08:00
Abhijit Saha
a9a038efa7 Merge 2014-01-15 10:09:00 -08:00
Joe Darcy
48ce9464b0 8031651: Remove unneeded -source and -target flags in jdk repo regression tests
Reviewed-by: dfuchs, mullan
2014-01-14 10:08:24 -08:00
Dimitar Mavrodiev
bae4227a91 7100957: SOCKS proxying does not work with IPv6 connections
Reviewed-by: chegar, alanb
2014-01-14 16:23:49 +00:00
Jaroslav Bachorik
a635170108 8030847: java/lang/management/ThreadMXBean/ThreadBlockedCount.java fails intermittently again
Reviewed-by: dholmes, sla, mchung
2014-01-14 13:09:34 +01:00
Xue-Lei Andrew Fan
520ada1ca7 8030829: Add MD5 to jdk.certpath.disabledAlgorithms security property
Reviewed-by: mullan, weijun
2014-01-13 21:12:58 -08:00
Chris Hegarty
be247dff24 Merge 2014-01-10 15:04:46 +00:00
Daniel Fuchs
078338ed6a 8031068: java/util/logging/ParentLoggersTest.java: checkLoggers: getLoggerNames() returned unexpected loggers
The test was not keeping any strong reference on the loggers it created allowing for them to be garbage collected too early.

Reviewed-by: mchung, chegar
2014-01-10 15:51:24 +01:00
Chris Hegarty
2878960abe 8031067: java/util/concurrent/atomic/AtomicUpdaters.java: java.lang.Error: Unexpected reflective access
Ensure that the test is not influenced by the default users policy.

Reviewed-by: martin
2014-01-07 11:34:59 +00:00
Paul Sandoz
4d62c07baa 8031306: Incorrect bug id on tests
Reviewed-by: chegar
2014-01-07 11:33:22 +01:00
Paul Sandoz
b3ff3362d2 8031187: DoubleStream.count is incorrect for a stream containing > Integer.MAX_VALUE elements
Reviewed-by: darcy
2014-01-07 11:15:11 +01:00
Peter Levart
1403c7fe08 8030801: SocketHandler(host, port) requires permission ("java.util.logging.LoggingPermission" "control")
8029781: Theoretical data race on java.util.logging.Handler.sealed

Use privileged actions instead of racy boolean field to elevate privilege when constructing logging handlers

Reviewed-by: mchung, dfuchs
2014-01-07 09:54:16 +01:00
Aleksei Efimov
e03b5f15ed 8025051: Update resource files for TimeZone display names
Reviewed-by: okutsu, mfang
2013-12-30 16:46:55 +04:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Peter Levart
e7666f597d 6857566: (bf) DirectByteBuffer garbage creation can outpace reclamation
Help ReferenceHandler thread process References while attempting to allocate direct memory

Reviewed-by: alanb
2014-02-24 15:34:33 +01:00