Commit Graph

3046 Commits

Author SHA1 Message Date
John Rose bc9498081e 8050052: Small cleanups in java.lang.invoke code
Reviewed-by: vlivanov, psandoz
2014-09-10 18:34:02 +04:00
Vladimir Ivanov 67cca45032 8049555: Move varargsArray from sun.invoke.util package to java.lang.invoke
Reviewed-by: psandoz, iignatyev
2014-09-10 18:34:02 +04:00
Vladimir Ivanov f99d29c8cc 8037210: Get rid of char-based descriptions 'J' of basic types
Reviewed-by: jrose, psandoz, twisti
2014-09-10 18:34:02 +04:00
Yong Jeffrey Huang f11ce28bbc 8055222: Currency update needed for ISO 4217 Amendment #159
Reviewed-by: naoto
2014-09-08 20:01:46 -07:00
Daniel Fuchs a535b26874 8052403: java/util/logging/CheckZombieLockTest.java fails with NoSuchFileException
CheckZombieLockTest and CheckLockLocationTest should work with different temporary log directories so that they can be run concurrently. This fix changes the name of the log directory used by CheckZombieLockTest.

Reviewed-by: mchung
2014-08-19 17:11:28 +02:00
Daniel Fuchs 496e9f57a0 8048020: Regression on java.util.logging.FileHandler
In some circumstances j.u.l.FileHandler can leave zombie lock files on the file system. The fix lets FileHandler reuse such zombie lock files when it sees them - as it used to do in version 1.7 of the JDK.

Reviewed-by: alanb
2014-07-07 15:31:07 +02:00
Joel Borggrén-Franck dc13d95f22 8044629: (reflect) Constructor.getAnnotatedReceiverType() returns wrong value
Update javadoc and align implementation with new spec

Reviewed-by: psandoz
2014-08-28 13:26:04 +02:00
Evgeniya Stepanova b153d9a7f1 8055393: [Testbug] Some tests are being executed and fail under profiles
Reviewed-by: mchung, dholmes
2014-08-24 18:23:06 -04:00
Daniel Fuchs e3cf6641f3 8054480: Test java/util/logging/TestLoggerBundleSync.java fails: Unexpected bundle name: null
This is due to a race condition in the test where one GetRB thread can receive a stale LogRecord comming from another GetRB thread.

Reviewed-by: dholmes
2014-08-14 15:18:11 +02:00
Nakul Natu 8bc7078a62 8048887: SortingFocusTraversalPolicy throws IllegalArgumentException from the sort method
Reviewed-by: azvegint, alexsch
2014-08-09 01:18:25 +04:00
Rob McKenna 1be52a56a4 8030166: java/lang/ProcessBuilder/Basic.java fails intermittently: waitFor took too long
Reviewed-by: rriggs
2014-08-01 15:34:55 +01:00
Dmitry Markov 22919c3bc2 8041990: [macosx] Language specific keys does not work in applets when opened outside the browser
Reviewed-by: alexsch, serb
2014-08-05 08:30:05 +04:00
Phil Race 621eb0585e 8043508: JVM core dumps with very long text in tooltip
Reviewed-by: bae, jgodinez
2014-07-31 10:47:51 -07:00
Chris Hegarty 75f7e373b9 8053938: Collections.checkedList(empty list).replaceAll((UnaryOperator)null) doesn't throw NPE after JDK-8047795
Reviewed-by: rriggs, mduigou
2014-07-30 17:42:18 +01:00
Anton Nashatyrev 659eb19c5e 8046495: KeyEvent can not be accepted in quick mouse clicking
Reviewed-by: art, pchelko
2014-07-30 12:01:47 +01:00
Artem Malinko db55b714ea 8047288: Fixes endless loop on mac caused by invoking Windows.isFocusable() on Appkit thread
Reviewed-by: ant, pchelko
2014-07-29 15:52:50 +04:00
Mike Duigou aaf0e72687 8048209: Collections.synchronizedNavigableSet().tailSet(Object,boolean) synchronizes on wrong object
Reviewed-by: psandoz, chegar
2014-07-24 09:01:00 -07:00
Peter Levart 94b3aed07b 8000975: (process) Merge UNIXProcess.java.bsd & UNIXProcess.java.linux (& .solaris & .aix)
8047340: (process) Runtime.exec() fails in Turkish locale

Reviewed-by: coffeys, robm
2014-07-24 20:55:21 +02:00
Dmitry Markov fa7177bf0d 8044614: [macosx] Focus issue with 2 applets in firefox
Reviewed-by: alexsch, pchelko
2014-07-24 12:23:52 +04:00
Rob McKenna 5011afdb2b Merge 2014-07-17 18:05:58 +01:00
Lana Steuck 957fa45493 Merge 2014-07-15 14:08:27 -07:00
Abhijit Saha 9fcf556952 Merge 2014-07-14 08:02:45 -07:00
Chris Hegarty e317c5b9e6 8047674: java/net/URLPermission/nstest/lookup.sh NoClassDefFoundError when run in concurrent mode
Reviewed-by: alanb
2014-07-02 18:12:59 +01:00
Abhijit Saha 57474a22ec Merge 2014-06-26 07:54:37 -07:00
Mike Duigou 4dbe4a57f8 8047795: Collections.checkedList checking bypassed by List.replaceAll
Reviewed-by: psandoz, chegar
2014-06-25 12:36:03 -07:00
Stephen Colebourne d0f9ecb769 8046416: Unable to parse an Instant from fields
Fix Instant parsing

Reviewed-by: rriggs
2014-06-11 08:25:33 +01:00
Petr Pchelko 2b68aa9a94 8047061: [macosx] Crash when setting display mode
Reviewed-by: anthony, alexsch
2014-06-19 12:59:19 +04:00
Joel Borggrén-Franck a2153ce7e7 8029674: (reflect) getMethods returns default methods that are not members of the class
Filter out methods that have a more specific default method from result

Reviewed-by: darcy, dlsmith
2014-06-16 13:59:51 +02:00
Vladimir Ivanov 1f0aeb7608 8046903: VM anonymous class members can't be statically invocable
Reviewed-by: jrose
2014-06-17 13:06:05 +04:00
Sergey Bylokhov 05b2d95e39 8029455: [JLightweightFrame] support scaled painting
Reviewed-by: anthony, ant
2014-06-12 00:32:33 +04:00
Sergey Bylokhov 03d9c0d51d 8042103: Deserialization of empty java.awt.geom.Path2D will cause an exception
Reviewed-by: bae, flar
2014-06-11 14:38:50 +04:00
Sergey Bylokhov a52de212e5 8041644: [OGL] clip is ignored during surface->sw blit
Reviewed-by: bae, prr
2014-06-11 14:21:12 +04:00
Sergey Bylokhov 34fd451bad 8041129: [OGL] surface->sw blit is extremely slow
8017626: [OGL] Translucent VolatileImages don't paint correctly

Reviewed-by: bae, flar
2014-06-04 16:55:06 +04:00
Abhijit Saha 32a0777d97 Merge 2014-06-02 15:14:28 -07:00
Mike Duigou b7766b47ad 8046085: inserting null key into HashMap treebin fails
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: dl, mduigou, alanb, chegar
2014-06-06 14:23:08 -07:00
Abhijit Saha c51afa358d Merge 2014-05-28 12:45:12 -07:00
Alexander Scherbatiy 12777bf09d 8040291: [macosx] Http-Images are not fully loaded when using ImageIcon
Reviewed-by: serb, pchelko
2014-05-28 15:24:18 +04:00
Joel Borggrén-Franck 033b19764e 8039916: AnnotatedType.getType() of a Executable parameters may return wrong type
Reviewed-by: psandoz
2014-06-04 14:42:48 +02:00
Vladimir Ivanov d9d9fa6f43 8032400: JSR292: invokeSpecial: InternalError attempting to lookup a method
Reviewed-by: psandoz, jrose
2014-06-09 15:40:40 +04:00
Miroslav Kos 0f6be2be28 8041633: [TESTBUG] java/lang/SecurityManager/CheckPackageAccess.java fails with "In j.s file, but not in golden set: com.sun.activation.registries."
Adding newly restricted package to golden set in the test

Reviewed-by: asmotrak, coffeys, mullan
2014-05-20 16:02:57 +02:00
Paul Sandoz b1e11c4c51 8042355: stream with sorted() causes downstream ops not to be lazy
Reviewed-by: mduigou
2014-05-06 10:29:59 +02:00
Petr Pchelko 82d53d1b8b 8041987: [macosx] setDisplayMode crashes
Reviewed-by: anthony, serb
2014-04-28 16:45:43 +04:00
Yuka Kamiya 5ad41b677a 8042360: Subtag syntax check is incomplete in Locale.LanguageRange
Reviewed-by: naoto, okutsu
2014-05-09 10:19:59 +09:00
Alexander Scherbatiy 3325deadf9 8043705: Can't exit color chooser dialog when running as an applet
Reviewed-by: serb, pchelko
2014-06-04 12:32:12 +04:00
Stephen Colebourne a5363ddf29 8040058: IsoFields.WEEK_BASED_YEAR adjustInto incorrect and WeekFields.weekOfWeekBasedYear().range incorrect
Reviewed-by: lancea, rriggs
2014-04-12 14:54:44 +01:00
Alexander Zvegintsev 6b9948c339 8041896: Test closed/java/awt/Choice/RemoveAllShrinkTest/RemoveAllShrinkTest fails with java.awt.IllegalComponentStateException
Reviewed-by: pchelko, serb
2014-05-15 20:24:13 +04:00
Petr Pchelko 4586b66f83 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
Alan Bateman a134a4d15d 8037945: Paths.get("").normalize() throws ArrayIndexOutOfBoundsException
Reviewed-by: chegar
2014-03-24 15:09:47 +00:00
Anton Nashatyrev 67d052b92f 8032788: ImageIcon constructor throws an NPE and hangs when passed a null String parameter
Reviewed-by: pchelko, serb
2014-05-30 14:46:36 +04:00
Alexander Zvegintsev d9af31ccf6 8017472: [macosx] Transparency demo is not correctly dragged on the second monitor
Reviewed-by: pchelko, serb
2014-05-29 13:34:04 +04:00
Mike Duigou 1ca49dbc7d 8047795: Collections.checkedList checking bypassed by List.replaceAll
Reviewed-by: psandoz, chegar
2014-06-25 12:36:03 -07:00
Mike Duigou 4deb28dfed 8048207: Collections.checkedQueue.offer() calls add on wrapped queue
Reviewed-by: psandoz
2014-06-27 10:26:39 -07:00
Artem Malinko 4cefb9be67 8040076: Memory leak. java.awt.List objects allowing multiple selections are not GC-ed
Reviewed-by: anthony, pchelko
2014-07-02 14:48:37 +04:00
Chris Hegarty 9e4a2e2fe7 8047674: java/net/URLPermission/nstest/lookup.sh NoClassDefFoundError when run in concurrent mode
Reviewed-by: alanb
2014-07-02 18:12:59 +01:00
Petr Pchelko 4929760e35 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
Andrew Brygin 5b0eee89b0 8019990: IM candidate window appears on the South-East corner of the display
Reviewed-by: bagiras, serb
2014-04-03 16:40:58 +04:00
Petr Pchelko 330cbbef36 8031765: Child process error stream is not empty!
Reviewed-by: anthony, serb
2014-04-02 16:13:24 +04:00
Chris Hegarty 9b7f6a1cf2 8035897: Better memory allocation for file descriptors greater than 1024 on macosx
Reviewed-by: michaelm, alanb
2014-03-02 19:27:43 +00:00
Ivan Gerasimov 6a79019a75 8027212: java/nio/channels/Selector/SelectAfterRead.java fails intermittently
Reviewed-by: chegar, ewang
2014-02-20 16:00:26 +04:00
Abhijit Saha 722540799b Merge 2014-03-11 14:06:01 -07:00
Abhijit Saha 104324162d Merge 2014-03-03 10:15:31 -08:00
Petr Pchelko b7ca947309 8032960: Running forms URL throws NullPointerException in Javaconsole
Reviewed-by: anthony, serb
2014-03-03 16:05:55 +04:00
Robert Field 20a8814781 8035777: Consistent Lambda construction
Reviewed-by: ahgross, briangoetz, dlsmith
2014-02-28 10:43:49 -08:00
Konstantin Shefov c8dd61bd97 8017456: [TEST_BUG] java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html: test frames remain after test execution
Reviewed-by: serb, alexsch
2014-02-26 18:12:00 +04:00
Henry Jen 9a3089ff7f 8033590: java.util.Comparator::thenComparing has unnecessary type restriction
Reviewed-by: psandoz
2014-02-06 10:30:18 -08:00
Vladimir Ivanov 1c4873828b 8033278: Missed access checks for Lookup.unreflect* after 8032585
Reviewed-by: jrose, twisti
2014-01-31 21:07:12 +04:00
Abhijit Saha 0e8d827de4 Merge 2014-02-07 12:11:30 -08:00
Abhijit Saha 90db3d3a08 Merge 2014-02-02 22:48:22 -08:00
Abhijit Saha 31a386d147 Merge 2014-01-30 14:35:11 -08:00
Daniel Smith 1d36afd793 8032697: Issues with Lambda
Reviewed-by: ahgross, briangoetz, dlsmith, rfield
2014-01-28 17:23:15 -08:00
Robert Field 7c8c25b62a 8032711: Issue with Lambda in handling
8032704: Issues with lib perm in Lambda

Reviewed-by: jrose, ahgross, briangoetz
2014-01-28 13:02:33 -08:00
Vladimir Ivanov da9c40856e 8032585: JSR292: IllegalAccessError when attempting to invoke protected method from different package
Reviewed-by: twisti, jrose
2014-01-28 13:46:58 +04:00
Alan Bateman 05286f45c0 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 f0bdb8a870 8041987: [macosx] setDisplayMode crashes
Reviewed-by: anthony, serb
2014-04-28 16:45:43 +04:00
Claes Redestad d20066c866 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
Michael McMahon 9e606323ce 8041621: java/net/Inet4Address/textToNumericFormat.java fails on Solaris and Mac
Reviewed-by: chegar
2014-05-06 10:16:40 +01:00
Sean Coffey c980fc613e Merge 2014-04-24 11:31:56 +01:00
Sergey Malenkov 1e293e91cb 8040656: Classes with overriden methods with covariant returns return random read methods
Reviewed-by: alexsch, serb
2014-04-22 16:47:34 +04:00
Sean Coffey 0ec4081325 8038491: Improve synchronization in ZipFile.read()
Reviewed-by: alanb, chegar
2014-04-10 20:01:52 +01:00
Igor Ignatyev 8c41b52044 8038186: [TESTBUG] improvements of test j.l.i.MethodHandles
Reviewed-by: iveresov, twisti, vlivanov
2014-03-29 12:29:21 +04:00
Vladimir Ivanov 20fe9d821b 8036117: MethodHandles.catchException doesn't handle VarargsCollector right (8034120 failed)
Reviewed-by: jrose, twisti
2014-03-25 20:46:22 +04:00
Vladimir Ivanov 8229d0058a 8027827: Improve performance of catchException combinator
8034120: MethodHandles.catchException doesn't handle VarargsCollector right

Reviewed-by: lagergren, psandoz, jrose
2014-03-25 20:45:20 +04:00
Konstantin Shefov 28d8432a80 8031422: [TEST_BUG] java/awt/Paint/bug8024864.java fails on Windows 7
Reviewed-by: pchelko, azvegint
2014-03-25 18:23:59 +04:00
Ivan Gerasimov 9226fa61ac 8034262: Test java/lang/ProcessBuilder/CloseRace.java fails
Reviewed-by: martin, dholmes
2014-03-12 21:45:20 +04:00
Chris Hegarty f710fcde02 8011645: CopyOnWriteArrayList.COWSubList.subList does not validate range properly
Reviewed-by: martin, psandoz
2014-01-31 18:32:07 +00:00
Xueming Shen 95bbd054c7 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
Ivan Gerasimov d7b238bb18 8039396: NPE when writing a class descriptor object to a custom ObjectOutputStream
Reviewed-by: alanb
2014-04-16 12:37:49 +04:00
Sergey Malenkov b127f68710 8039137: KSS: JTextComponent.isProcessInputMethodEventOverridden
Reviewed-by: alexsch, serb
2014-04-18 15:11:31 +04:00
Lana Steuck 2da8a6cc21 Merge 2014-04-16 15:03:29 -07:00
Abhijit Saha c330cc2a9d Merge 2014-04-09 12:26:00 -07:00
Andrew Brygin 18a750c5bf 8019990: IM candidate window appears on the South-East corner of the display
Reviewed-by: bagiras, serb
2014-04-03 16:40:58 +04:00
Abhijit Saha e12561dafb Merge 2014-04-02 10:01:16 -07:00
Petr Pchelko 99f8945d7b 8032595: [macosx] setResizable(false) makes a frame slide down
Reviewed-by: serb, ddehaven, azvegint
2014-04-02 16:18:55 +04:00
Petr Pchelko 123e8202a4 8031765: Child process error stream is not empty!
Reviewed-by: anthony, serb
2014-04-02 16:13:24 +04:00
Alejandro Murillo ea1b79643d Merge 2014-04-01 11:44:04 -07:00
Alexander Scherbatiy 600c3f9c0c 8035069: [macosx] Loading resolution variants by demand
Reviewed-by: serb, pchelko
2014-04-01 13:20:05 +04:00
Alexander Scherbatiy e2f14246f4 8033534: [macosx] Get MultiResolution image from native system
Reviewed-by: serb, pchelko
2014-04-01 13:10:06 +04:00
Abhijit Saha 1f77cbf4d7 Merge 2014-03-27 15:14:44 -07:00
Sergey Bylokhov 279556f652 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
Abhijit Saha f147399d26 Merge 2014-03-18 13:54:50 -07:00
Vladimir Kozlov d38814a134 Merge 2014-03-13 14:55:50 -07:00
Sean Coffey 3b6565a739 Merge 2014-03-12 18:53:42 +00:00
Petr Pchelko 07e19e3813 8031964: [macosx] Dragging images from the browser does not work
Reviewed-by: anthony, serb
2014-03-12 18:08:08 +04:00
Petr Pchelko 097cd6cc8c 8030050: Validate fields on DnD class deserialization
Reviewed-by: anthony, serb
2014-03-12 17:42:11 +04:00
Petr Pchelko 88079e4eb5 8032058: [TEST_BUG] [macosx] java/awt/dnd/Button2DragTest sometimes fail
Reviewed-by: anthony, serb
2014-03-12 17:35:25 +04:00
Petr Pchelko 1d3a6ebf46 8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
Reviewed-by: anthony, serb
2014-03-12 17:11:37 +04:00
Petr Pchelko 135673f2ab 7159566: The choice positioned in the top of applet when clicking the choice
Reviewed-by: anthony, serb
2014-03-12 17:05:31 +04:00
Petr Pchelko 9388e94477 8026869: [macosx] Support apple.awt.use-file-dialog-packages property
Reviewed-by: anthony, serb
2014-03-12 17:00:28 +04:00
Dmitry Markov 764075105d 8032872: [macosx] Cannot select from JComboBox in a JWindow
Reviewed-by: pchelko, ant
2014-03-11 13:14:04 +04:00
Chris Hegarty 910c9dc349 8035897: Better memory allocation for file descriptors greater than 1024 on macosx
Reviewed-by: michaelm, alanb
2014-03-02 19:27:43 +00:00
Vladimir Kozlov 1194c8dabb Merge 2014-02-25 15:10:27 -08:00
Anton Litvinov 4cd3b79f60 8032078: [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED|MAXIMIZED_BOTH
Reviewed-by: pchelko, serb
2014-02-24 12:37:46 +04:00
Vladimir Kozlov af00af7506 Merge 2014-02-20 16:46:32 -08:00
Vladimir Kozlov 0a9698584d Merge 2014-02-19 20:10:55 -08:00
Sean Mullan 314ec7f0d6 8025708: Certificate Path Building problem with AKI serial number
Reviewed-by: xuelei, juh
2014-02-19 14:22:33 -05:00
Konstantin Shefov 8847fdc76a 8017456: [TEST_BUG] java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html: test frames remain after test execution
Reviewed-by: serb, alexsch
2014-02-18 14:44:29 +04:00
Oleg Pekhovskiy dd1ae2895e 8031694: [macosx] TwentyThousandTest test intermittently hangs
Reviewed-by: art, anthony
2014-02-13 22:00:42 +04:00
Rob McKenna 59b710461e 7152892: some jtreg tests fail with permission denied
Reviewed-by: coffeys
2014-02-10 14:35:42 +00:00
Daniel Fuchs d3c6bfbe8c 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
Ivan Gerasimov be8b244af6 8027348: (process) Enhancement of handling async close of ProcessInputStream
Reviewed-by: martin
2014-01-30 00:02:46 +04:00
Paul Sandoz 9eaaf9a925 8037106: Optimize Arrays.asList(...).forEach
Reviewed-by: alanb, martin, mduigou, ulfzibis
2014-03-18 11:24:38 +01:00
Paul Sandoz 0b30b6d677 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 18:37:34 +01:00
Konstantin Shefov e121893085 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 dfa8917b66 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 c3d69a28de 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-24 11:34:26 +04:00
Sunny Chan 2d09a7f0ff 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
Vladimir Kozlov f6926a9870 Merge 2014-01-22 17:40:55 -08:00
Ivan Gerasimov 14fe207b01 8027212: java/nio/channels/Selector/SelectAfterRead.java fails intermittently
Reviewed-by: chegar, ewang
2014-02-20 16:00:26 +04:00
Abhijit Saha b37f749242 Merge 2014-01-20 19:48:40 -08:00
Volker Simonis eb1ee0c0e8 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
Vladimir Ivanov 1f90679fa2 8031502: JSR292: IncompatibleClassChangeError in LambdaForm for CharSequence.toString() method handle type converter
Reviewed-by: sundar, lagergren, drchase
2014-01-15 20:48:44 +04:00
Sergey Bylokhov 1c495a4a10 7157680: XAWT: Native components should not paint native part on UPDATE event
Reviewed-by: anthony, pchelko
2014-01-20 20:11:09 +04:00
Petr Pchelko 874ab46015 8031477: [macosx] Loading AWT native library fails
8002191: AWT-Shutdown thread does not start with the AppletSecurity on Linux
8031032: SQE test failures after JDK-8025010 was fixed

Reviewed-by: serb, ddehaven
2014-01-15 11:57:19 +04:00
Alexander Zuev 3d16306fab Merge 2014-01-14 23:10:36 +04:00
Sean Coffey 27a9a8f79b Merge 2014-02-07 17:18:33 +00:00
Sean Coffey e63cb42ee3 Merge 2014-02-06 23:51:18 +00:00
Sean Coffey 88433134dc Merge 2014-02-06 12:59:04 +00:00
Daniel Fuchs d4fef53027 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
Shanliang Jiang 9f47390265 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
Sean Coffey 9c8f7d1128 Merge 2014-01-31 10:46:07 +00:00
Sean Coffey c2c56dd3b7 Merge 2014-01-31 00:14:45 +00:00
Alexander Scherbatiy caa660ec13 8028212: Custom cursor HiDPI support
Reviewed-by: serb, anthony
2014-01-30 15:08:35 +04:00
Alexander Scherbatiy 786ee781ae 8011059: [macosx] Support automatic @2x images loading on Mac OS X
Reviewed-by: serb, flar
2014-01-30 13:40:56 +04:00
Oleg Pekhovskiy 4f2479dd89 8013116: Robot moves mouse to point which differs from set in mouseMove on Unity shell
Reviewed-by: serb, azvegint
2014-01-30 11:09:30 +04:00
Jaroslav Bachorik 2e591a4867 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
Jaroslav Bachorik f249bd190e 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
Phil Race 0de263fb1d 8031462: Fonts with morx tables are broken with latest ICU fixes
Reviewed-by: bae, vadim
2014-01-13 14:53:06 -08:00
Paul Sandoz 456e1de38e 8031187: DoubleStream.count is incorrect for a stream containing > Integer.MAX_VALUE elements
Reviewed-by: darcy
2014-01-09 10:52:35 +01:00
Erik Joelsson af18377bce 8030781: System.setProperties(null) drops all system properties (RELEASE not set)
Reviewed-by: alanb
2014-01-08 14:04:35 +01:00
Abhijit Saha 4e6a81cca7 Merge 2014-01-08 12:01:29 -08:00
Abhijit Saha 05a9f1ab73 Merge 2014-01-02 15:24:50 -08:00
Lana Steuck 03b4e5d3ba 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
Lana Steuck 4ad1493f4c Merge 2013-12-25 10:34:40 -08:00
Sergey Bylokhov 902a80a7b1 8030953: SelectionVisible test should test multiline selection in case of TextArea
Reviewed-by: pchelko, azvegint
2013-12-23 18:54:50 +04:00
Stephen Colebourne 1bfb695d86 8036818: DateTimeFormatter withResolverFields() fails to accept null
Reviewed-by: chegar, rriggs
2014-03-06 17:31:07 +00:00
Stephen Colebourne 74cafa198e 8032491: DateTimeFormatter fixed width adjacent value parsing does not match spec
Reviewed-by: lancea, rriggs
2014-03-29 15:01:47 -04:00
Stephen Colebourne f6df964963 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
Sergey Malenkov 122ede0d2a 8039776: Introspector throws NullPointerException for subclasses' mismatched get/setter
Reviewed-by: alexsch, serb
2014-04-10 22:35:12 +04:00
Daniel Fuchs f42a738d57 8030850: Setting .level=FINEST in logging configuration file doesn't work
SetLevel(INFO) was called too early on root logger, causing the value found in configuration file to be later ignored.

Reviewed-by: mchung
2013-12-22 11:20:07 +01:00
Joe Darcy dac4c6cf8f 8030212: Several api.java.util.stream tests got "NaN" value instead of "Infinity" or "-Infinity"
Reviewed-by: mduigou, psandoz
2014-01-03 11:38:57 -08:00
Aleksei Efimov 7951eed52d 8025051: Update resource files for TimeZone display names
Reviewed-by: okutsu, mfang
2013-12-30 16:46:55 +04:00
Roger Riggs d57c339d79 8030002: Enhance deserialization using readObject
Reviewed-by: sherman, chegar, scolebourne
2013-12-20 13:06:23 -05:00
Lana Steuck fd73ae9c4d Merge 2013-12-19 10:26:03 -08:00
Jaroslav Bachorik 99ad5db7cf 8032377: test/java/lang/management/ThreadMXBean/ThreadBlockedCount.java still fails intermittently
Reviewed-by: dholmes
2014-01-21 13:04:55 +01:00
Jaroslav Bachorik 67e6779450 8030847: java/lang/management/ThreadMXBean/ThreadBlockedCount.java fails intermittently again
Reviewed-by: dholmes, sla, mchung
2014-01-14 13:09:34 +01:00
Alexander Zvegintsev 263fdcbf7a 8029263: user's default browser can not launch after we click the button, and there is an IOException shown in the log text (java.io.IOException)
Reviewed-by: anthony, serb
2013-12-18 11:09:31 +00:00
Jaroslav Bachorik 9d470898ee 8029890: java/lang/management/ThreadMXBean/ThreadBlockedCount.java fails: Blocked thread has 4 blocked counts. Expected 3
Reviewed-by: sla
2013-12-18 10:58:50 +01:00
Daniel Fuchs c70500d7aa 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
Daniel Fuchs eee630b55d 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
Daniel Fuchs 36ef984c25 8030187: TEST_BUG: java/util/logging/Logger/setResourceBundle/TestSetResourceBundle.java failing again
Yet another issue with Loggers being gc'ed too early.

Reviewed-by: mchung
2013-12-20 14:53:38 +01:00
Daniel Fuchs 0e57330cdc 8030192: TESTFAIL: java/util/logging/TestLoggerBundleSync.java failed with NPE
This is a test bug - loggers held in local variables can be arbitrarily gc'ed if that variable is no longer used. The fix makes sure that the loggers won't be arbitrarily gc'ed before the test is complete.

Reviewed-by: mchung
2013-12-19 14:53:10 +01:00
Mike Duigou 8bea7b1bd8 8029795: LinkedHashMap.getOrDefault() doesn't update access order
Reviewed-by: psandoz
2013-12-17 09:36:59 -08:00
Sean Coffey ade475c81a Merge 2014-01-16 23:52:07 +00:00
Anthony Petrov 47b7cc035f 8029979: Allow multiple calls to DropTargetDropEvent.acceptDrop()
Reviewed-by: pchelko, serb
2014-01-14 13:55:01 +04:00
Mike Duigou 238dc51bb4 8030016: HashMap.computeIfAbsent generates spurious access event
Reviewed-by: psandoz, bchristi
2013-12-13 13:35:35 -08:00
Mike Duigou e34d45065f 8029055: Map.merge implementations should refuse null value param
Reviewed-by: briangoetz, dl
2013-12-13 13:34:55 -08:00
Alexander Zuev 63448f3781 Merge 2013-12-13 22:13:56 +04:00
Lana Steuck 13a5bf79c5 Merge 2013-12-12 20:04:31 -08:00
Lana Steuck 32bb7ec9e9 Merge 2013-12-12 19:17:34 -08:00
Vladimir Kozlov ae841e3d5b Merge 2013-12-12 11:04:11 -08:00
Sergey Bylokhov 14f40bab1b 8001472: api/java_awt/Window/indexTGF_* tests fail because expected colors aren't equal
Reviewed-by: anthony, azvegint
2013-12-12 16:30:22 +04:00
Roger Riggs e38fccc8fb 8029551: Add value-type notice to java.time classes
Add warning about identity of value types and reference to ValueBased.html

Reviewed-by: briangoetz, smarks, scolebourne
2013-12-11 16:52:41 -05:00
Michael McMahon 8e5dcdfaf4 8029354: URLPermission.<init> throws llegalArgumentException: Invalid characters in hostname
Reviewed-by: alanb, chegar
2013-12-09 13:05:09 +00:00
Petr Pchelko 09e6345482 8029565: java.awt.dnd.InvalidDnDOperationException: data translation failed on file drop
Reviewed-by: anthony, serb
2013-12-06 17:47:16 +04:00
Vladimir Kozlov 75284b677e Merge 2013-12-05 15:10:36 -08:00
Lana Steuck 7383b43bc5 Merge 2013-12-05 10:33:57 -08:00
Lana Steuck ce0b21b5f0 Merge 2013-12-05 10:32:02 -08:00
Roger Riggs efe46c73dd 8029525: java/lang/ProcessBuilder/Basic.java fails intermittently
Reviewed-by: alanb, chegar
2013-12-05 16:19:06 +00:00
Brian Burkhalter 9fab2b1e9a 8029514: java/math/BigInteger/BigIntegerTest.java failing since thresholds adjusted in 8022181
Ensure the value returned by getLower() is unsigned.

Reviewed-by: darcy
2013-12-05 07:44:59 -08:00
Doug Lea 1c59527f70 8028564: Concurrent calls to CHM.put can fail to add the key/value to the map
Reviewed-by: psandoz, chegar, alanb
2013-12-05 09:44:53 +01:00
Yiming Wang 4c594ee9bc 7067973: test/java/lang/management/MemoryMXBean/CollectionUsageThreshold.java hanging intermittently
Reviewed-by: mchung
2013-12-04 09:26:47 -08:00
Henry Jen 40d9b1af54 8029434: Spliterator of Stream returned by BufferedReader.lines() should have NONNULL characteristic
Reviewed-by: mduigou
2013-12-04 08:12:11 -08:00
Sergey Bylokhov 6c439131d6 8029382: [macosx] Need test for JDK-7161437
Reviewed-by: pchelko, anthony
2013-12-04 15:55:36 +04:00
Petr Pchelko 64e1aae31a 8028484: [TEST_BUG][macosx] closed/java/awt/MouseInfo/JContainerMousePositionTest fails
Reviewed-by: anthony, serb
2013-12-04 15:41:03 +04:00
Paul Sandoz 8fb00644a9 8029164: Race condition in CompletableFuture.thenCompose with asynchronous task
Reviewed-by: dl, chegar, mduigou
2013-12-04 10:27:50 +01:00
Lana Steuck 98d2cb3084 Merge 2013-12-03 17:58:12 -08:00
Lana Steuck a8b50be959 Merge 2013-12-03 15:10:37 -08:00
Phil Race 1aaa224556 8029204: Printing a GlyphVector on Windows ignores position of first glyph
Reviewed-by: jgodinez, bae
2013-12-03 09:35:54 -08:00
Lana Steuck 673c2f81f5 Merge 2013-12-03 23:09:17 -08:00
Xueming Shen 591834e28d 8028397: Undo the lenient MIME BASE64 decoder support change (JDK-8025003) and remove methods de/encode(buf, buf)
Updated the spec and implementation as requested

Reviewed-by: alanb
2013-12-03 17:44:31 -08:00
Daniel Fuchs 2c97b5c5cb 8029281: Synchronization issues in Logger and LogManager
Fixes several race conditions in logging which have been at the root cause of intermittent test failures.

Reviewed-by: mchung, plevart
2013-12-04 01:58:37 +01:00
Tristan Yan e9f0b87793 7190106: java/rmi/reliability/benchmark fails intermittently because of use of fixed port
Reviewed-by: smarks, mduigou
2013-12-03 14:36:45 -08:00
Petr Pchelko 0aa8a5ad09 7124391: [TEST_BUG][macosx] MouseEvents are not dispatched when the mouse cursor leaves the component
Reviewed-by: anthony, serb
2013-12-03 19:33:05 +04:00
Petr Pchelko d78b117809 8029251: [TEST_BUG][macosx] Use safari browser, the ouput contain information that DataFlavor.allHtmlFlavor is not present in the system clipboard
Reviewed-by: anthony, serb
2013-12-03 15:31:07 +04:00
Andrei Eremeev 0bb946b80e 8023576: [TEST BUG] Compilation fails for java/awt/Choice/ChoiceMouseWheelTest/ChoiceMouseWheelTest.java
Reviewed-by: anthony, serb
2013-12-03 15:18:52 +04:00
Mark Sheppard 0f8fe88155 8025211: Intermittent test failure: java/net/DatagramSocket/PortUnreachable.java
Modified test to execute in a single thread to eliminate potential race condition

Reviewed-by: alanb, chegar, dfuchs
2013-12-02 14:01:23 +00:00
Joe Darcy 3eafe5802b 8006572: DoubleStream.sum() & DoubleSummaryStats implementations that reduce numerical errors
Reviewed-by: psandoz, mduigou
2013-12-01 23:35:28 -08:00
Petr Pchelko 72e44e870c 7178682: [TEST_BUG][macosx] Mouse Pressed event can't be monitored for DisabledComponentsTest.html
Reviewed-by: anthony, serb
2013-11-29 16:43:22 +04:00
Petr Pchelko ee95a2a1c4 7152982: [TEST_BUG][macosx] Extremely unstable mouse modifiers test
Reviewed-by: anthony, serb
2013-11-29 11:08:52 +04:00
Jaroslav Bachorik b77ba98513 6987597: ManagementFactory.getGarbageCollectorMXBeans() returns empty list with CMS
Reviewed-by: mchung
2013-11-28 09:10:18 +01:00
Lana Steuck d7c4b121d9 Merge 2013-11-27 10:47:53 -08:00
Lana Steuck ebac85aa00 Merge 2013-11-27 10:44:41 -08:00
Naoto Sato a372dd2082 8028771: regression test java/util/Locale/LocaleProviders.sh failed
Reviewed-by: alanb
2013-11-27 10:01:08 -08:00
Sergey Bylokhov 27a7aa78e9 8029024: [TEST_BUG] java/awt/Modal/ModalDialogOrderingTest/ModalDialogOrderingTest.java fails
Reviewed-by: malenkov, alexsch
2013-11-27 20:45:10 +04:00
Alexander Stepanov faa166e5b7 8024767: [TEST] need test to cover JDK-7189452
Reviewed-by: ceisserer, bae
2013-11-27 15:15:40 +04:00
Petr Pchelko ab26348810 8011142: [TEST_BUG] 2 AppContext regression tests failed since 7u25b03 with NullPointerException
Reviewed-by: anthony, serb
2013-11-27 11:41:55 +04:00
Jennifer Godinez c21408ea2c 8028584: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
Reviewed-by: bae, prr
2013-11-26 10:24:59 -08:00
Jonathan Lu 780a13433f 8024854: PPC64: Basic changes and files to build the class library on AIX
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Co-authored-by: Thomas Stuefe <thomas.stuefe@sap.com>
Reviewed-by: alanb, prr, sla, chegar, michaelm, mullan, art
2013-11-26 16:40:31 +01:00
Petr Pchelko e4b29762d5 8024161: [TEST_BUG] [macosx] java/awt/Menu/OpensWithNoGrab/OpensWithNoGrab.java failed "menu was opened by first click after opened Choice"
Reviewed-by: anthony, serb
2013-11-26 18:50:35 +04:00
Michael McMahon 92e64d3a0d 8028293: Check local configuration for actual ephemeral port range
Reviewed-by: alanb, chegar, smarks
2013-11-26 10:06:57 +00:00
Sergey Malenkov 6c6c1d5e1b 8028054: com.sun.beans.finder.MethodFinder has unsynchronized access to a static Map
Reviewed-by: alexsch, serb
2013-11-26 13:30:44 +04:00
Yuka Kamiya 2d7889013f 8029057: test/java/text/Bidi/Bug6665028.java can fail with OutOfMemoryError
Reviewed-by: okutsu
2013-11-26 14:49:55 +09:00
Lana Steuck a9ebc3e630 Merge 2013-11-25 13:24:38 -08:00
Lana Steuck 7179341450 Merge 2013-11-25 12:29:54 -08:00
Lana Steuck 33cd414e58 Merge 2013-11-25 09:40:25 -08:00
Clemens Eisserer 90b513b09c 8028722: Render: Drawing strings with exactly 254 glyphs causes hangs
Reviewed-by: prr, bae
2013-11-25 09:38:32 -08:00
Joel Borggrén-Franck 8296f65abb 8023278: Reflection API methods do not throw AnnotationFormatError in case of malformed Runtime[In]VisibleTypeAnnotations attribute
Reviewed-by: darcy
2013-11-22 11:34:26 +01:00
Petr Pchelko ac94cb0062 8028485: [macosx] java/awt/Mouse/EnterExitEvents/FullscreenEnterEventTest.java fails
Reviewed-by: anthony, serb
2013-11-22 10:48:00 +04:00
Dan Xu a353eaac39 8028628: java/nio/channels/FileChannel/Size.java failed once in the same binary run
Reviewed-by: alanb, chegar, mchung, lancea
2013-11-21 14:23:41 -08:00
Dan Xu cf45a693dc 7065902: (file) test/java/nio/file/Files/Misc.java fails on Solaris 11 when run as root
Reviewed-by: alanb
2013-11-21 14:16:49 -08:00
Martin Buchholz 6c4294c2d9 6703075: (process) java/lang/ProcessBuilder/Basic.java fails with fastdebug
Reviewed-by: alanb
2013-11-21 16:06:05 +00:00
Tristan Yan d45f6482a3 8022212: Intermittent test failures in java/net
Reviewed-by: chegar
2013-11-21 13:42:54 +00:00
Alan Bateman bc63be15f2 8028734: test/java/util/Locale/InternationalBAT.java changes does not restore the default TimeZone
Reviewed-by: naoto
2013-11-20 21:34:47 +00:00
Stuart Marks aa58ae7951 8028638: java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java fails
Reviewed-by: lancea
2013-11-19 15:05:30 -08:00
Daniel Fuchs c430720e0a 8005202: java/util/logging/CheckLockLocationTest.java fail on solars_10
This test has been seen failing on Solaris 10, presumably because it was run as root. The fix will skip the non-writable case if it can't make a non-writable dir.

Reviewed-by: mchung
2013-11-19 22:28:12 +01:00
Dan Xu b33443f947 8028631: Improve the test coverage to the pathname handling on unix-like platforms
Add GeneralSolaris.java testcase and fix the concurrency issue

Reviewed-by: lancea, chegar, alanb
2013-11-19 13:22:50 -08:00
Daniel Fuchs f1917fec5d 8028185: XMLFormatter.format emits incorrect year
Fixes a regression where the year in the date was increased by 1900.

Reviewed-by: alanb, mchung
2013-11-19 20:10:58 +01:00
Michael McMahon 1beab3cc44 8028581: [TESTBUG] java/net/Socket/LingerTest.java failing
Reviewed-by: alanb
2013-11-19 17:49:57 +00:00
Sean Coffey 4c729287e7 8016728: TEST_BUG: test/java/rmi/transport/closeServerSocket/CloseServerSocket.java failing intermittently
Reviewed-by: chegar
2013-11-19 16:22:37 +00:00
Rob McKenna 49efd68082 8022206: Intermittent test failures in java/lang/ProcessBuilder/Basic.java
Reviewed-by: chegar, alanb
2013-11-19 15:36:59 +00:00
Balchandra Vaidya 5cdc23a99c 8028094: TEST_BUG: java/lang/ProcessBuilder/Basic.java leaves "sleep 6666" processes behind
Reviewed-by: chegar
2013-11-19 15:31:33 +00:00
Sean Coffey 0b55e91e3e 8028583: Add helper methods to test libraries
Reviewed-by: chegar
2013-11-19 14:47:48 +00:00
Sergey Bylokhov a1e87167e1 8027913: drop target notifications are sent out of order during DnD
Reviewed-by: anthony, art
2013-11-19 18:16:41 +04:00
Oleg Pekhovskiy 5c242ed70c 8027628: JWindow jumps to (0, 0) after mouse clicked
Reviewed-by: anthony, serb
2013-11-18 23:24:27 +04:00
Lana Steuck 1a633e63a9 Merge 2013-11-15 07:14:23 -08:00
Alexander Scherbatiy e04c087c6d 8025126: [macosx] Invalid calls to setValueAt() within JTable in Java 7 on Mac OS X
Reviewed-by: serb
2013-11-15 14:05:49 +04:00
Joel Borggrén-Franck 4163fbdc49 8028055: (reflect) invoking Method/Constructor in anonymous classes breaks with -Dsun.reflect.noInflation=true
Reviewed-by: briangoetz
2013-11-14 12:17:37 +01:00
Mattias Tobiasson c5cf3786f7 8023138: [TEST_BUG] java/lang/instrument/PremainClass/NoPremainAgent.sh fails intermittently
Port tests for java/lang/instrument/PremainClass from script to java

Reviewed-by: sla
2013-11-14 12:35:34 +01:00
Petr Pchelko 5f7b6dfb6c 8025440: [TEST_BUG] com/sun/awt/SecurityWarning/GetSizeShouldNotReturnZero.java failed since jdk8b108
Reviewed-by: anthony
2013-11-14 11:42:46 +04:00
Petr Pchelko 01f2c8f8ad 8028230: Behavior of SystemFlavorMap.getNativesForFlavor differ from that in Java 7
Reviewed-by: anthony, serb
2013-11-14 10:52:19 +04:00
Xueming Shen dc1dba10e7 8028321: Fix for String.split() empty input sequence/JDK-6559590 triggers regression
To undo the change for 6559590

Reviewed-by: darcy
2013-11-13 22:22:28 -08:00
Eric McCorkle fadfc31bec 8026884: test for fix of JDK-8021398 does not have @bug tag
8028021: @since 1.8 missing for certain methods in java.lang.reflect.Method in generated api docs

Two documentation fixes

Reviewed-by: darcy
2013-11-13 15:48:21 -05:00
Xueming Shen 4208726b35 8027645: Pattern.split() with positive lookahead
6559590: Pattern.compile(".*").split("") returns incorrect result

Updated spec/impl for these two corner cases

Reviewed-by: alanb, psandoz
2013-11-13 11:26:01 -08:00
Alan Bateman fe37ddf865 8028270: Files.readSymbolicLink calls AccessController directly so security manager can't grant the permission
Reviewed-by: mchung, martin, chegar
2013-11-13 16:52:18 +00:00
Chris Hegarty f9ecbb8f7d 8022213: Intermittent test failures in java/net/URLClassLoader
Reviewed-by: dxu, alanb
2013-11-13 16:44:12 +00:00
Mandy Chung d26c11b9d7 8028234: Remove unused methods in sun.misc.JavaAWTAccess
Reviewed-by: art, dfuchs, lancea
2013-11-13 07:49:42 -08:00
Daniel Fuchs e0c1c25d70 8026952: Test java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java has wrong @bug id
Trivial: change @bug 8023163 into @bug 8026499

Reviewed-by: mchung, alanb
2013-11-13 10:50:30 +01:00
Sergey Bylokhov 9ab430a0d2 8027696: Incorrect copyright header in the tests
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00
Leonid Romanov 0b24095558 8027972: [macosx] Provide a regression test for JDK-8007006
Reviewed-by: anthony
2013-11-12 20:02:12 +04:00
Vladimir Ivanov ee23c1f412 8027823: catchException combinator fails with 9 argument target
Reviewed-by: jrose
2013-11-09 04:21:28 +04:00
Xueming Shen f952749e41 8026330: java.util.Base64 urlEncoder should omit padding
To add Encoder.withoutPadding()

Reviewed-by: alanb
2013-11-11 14:35:36 -08:00
Lana Steuck 92d4547bee Merge 2013-11-08 15:02:55 -08:00
Michael McMahon 536e058b8b 8028060: test/java/net/URLPermission/nstest/lookup.sh failing (win)
Reviewed-by: alanb
2013-11-11 16:06:16 +00:00
Jaroslav Bachorik db68e03030 6523160: RuntimeMXBean.getUptime() returns negative values
RuntimeMXBean.getUptime() should be based on HR timers rather than on the OS time

Reviewed-by: dholmes, sla
2013-11-10 20:05:03 +01:00
Patrick Zhang ee6dd6c873 8028044: [TEST_BUG] Calendar shell tests do not pass TESTVMOPTS
Reviewed-by: dholmes, alanb
2013-11-09 16:46:46 +00:00
Lana Steuck 84da58d996 Merge 2013-11-08 17:36:14 -08:00
Chris Hegarty 44a19639b3 8019834: InetAddress.getByName hangs for bad IPv6 literals
Reviewed-by: alanb
2013-11-08 15:15:48 +00:00
Tristan Yan 92076375e9 8022963: java/net/NetworkInterface/Equals.java fails equality for Windows Teredo Interface
Reviewed-by: chegar
2013-11-08 15:12:30 +00:00
Mandy Chung 4e0a88f82a 8027351: (ref) Private finalize method invoked in preference to protected superclass method
Reviewed-by: alanb, dholmes, mr, plevart, psandoz
2013-11-08 07:53:57 -08:00
Sergey Malenkov 9e33696875 8027648: Type of overridden property is resolved incorrectly
Reviewed-by: alexsch
2013-11-08 14:09:18 +04:00
Naoto Sato e6f691aeb2 8027930: ResourceBundle test failures in fr locale
Reviewed-by: smarks
2013-11-07 10:03:38 -08:00
Michael McMahon bffc06393b 8027881: test/java/net/URLPermission/nstest/LookupTest.java failing intermittently, output insufficient
Reviewed-by: chegar
2013-11-07 10:22:11 +00:00
John Rose 8d462795cb 8027232: Update j.l.invoke code generating class files to use ASM enhancements for invocation of non-abstract methods on ifaces
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: ksrini, rfield
2013-11-06 11:31:49 -08:00
Mandy Chung 1b7f902c51 8022208: Intermittent test failures in java/lang/Thread/ThreadStateTest.java
6944188: ThreadMXBean/ThreadStateTest.java fails intermittently

Reviewed-by: dholmes, chegar
2013-11-05 17:33:26 -08:00
Paul Sandoz fe6f3e2439 8027712: DistinctOpTest fails for unordered test
Reviewed-by: henryjen, alanb
2013-11-05 12:08:12 +01:00
Dan Xu 3fdca18433 8027612: java/io/File/MaxPathLength.java fails intermittently in the clean-up stage
Reviewed-by: chegar
2013-11-04 15:48:08 -08:00
Andreas Lundblad 79b1f94594 8016725: TEST_BUG: java/lang/reflect/Method/DefaultMethodModeling.java failing intermittently
Moved DefaultMethodModeling.java to its own directory to avoid conflicts with Equals.java.

Reviewed-by: darcy
2013-11-04 15:21:47 +01:00
Robert Field ee1006e3bd 7194897: JSR 292: Cannot create more than 16 instances of an anonymous class
8027681: Lambda serialization fails once reflection proxy generation kicks in

Co-authored-by: Joel Borggren-Franck <joel.franck@oracle.com>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: ksrini, briangoetz, jfranck
2013-11-04 10:12:18 -08:00
Michael McMahon 2d8325d244 8027687: The constructors of URLPermission class do not behave as described in javad
Reviewed-by: chegar, mduigou
2013-11-04 17:47:59 +00:00
Brian Burkhalter 8c97f82aae 8027625: test/java/math/BigInteger/ExtremeShiftingTests.java needs @run tag to specify heap size
Add @run tag to specify heap size

Reviewed-by: alanb, dxu
2013-11-04 08:05:02 -08:00
Tristan Yan bd40c9b63d 8025198: Intermittent test failure: java/util/concurrent/ThreadPoolExecutor/ThrowingTasks.java
Reviewed-by: martin, dholmes
2013-11-04 06:58:30 -05:00
Lana Steuck ac6386468f Merge 2013-10-31 16:44:18 -07:00
Lana Steuck 30f9f179d5 Merge 2013-10-31 16:22:30 -07:00
Lana Steuck be32b11e5b Merge 2013-10-31 15:45:57 -07:00
Dan Xu 6c3fabc342 8027155: test/java/io/File/NulFile.java failing when test run in othervm mode
Reviewed-by: mchung, alanb
2013-10-31 11:52:30 -07:00
Leonid Romanov df6d7277ef 8013581: [macosx] Key Bindings break with awt GraphicsEnvironment setFullScreenWindow
Reviewed-by: anthony, serb
2013-10-30 20:54:42 +04:00
Petr Pchelko 849b644b8c 8027152: Regression: test closed/java/awt/Serialize/NullSerializationTest/NullSerializationTest.html fails since JDK 8 b112
Reviewed-by: art, serb
2013-10-30 12:00:18 +04:00
Jaroslav Bachorik 21a239f4c5 7144200: java/lang/management/ClassLoadingMXBean/LoadCounts.java failed with JFR enabled
Make the test less stringent by not requiring the number of loaded classes to increase by a specific number

Reviewed-by: sla
2013-10-31 11:59:09 +01:00
Paul Sandoz 894f3788d3 8027316: Distinct operation on an unordered stream should not be a barrier
Reviewed-by: henryjen, mduigou, briangoetz
2013-10-31 11:59:04 +01:00
Dmitry Nadezhin 9e7ba92bff 6910473: java.math.BigInteger.bitLength() may return negative "int" on large numbers
8021203: BigInteger.doubleValue/floatValue returns 0.0 instead of Infinity
8021204: Constructor BigInteger(String val, int radix) doesn't detect overflow
8022780: Incorrect BigInteger division because of MutableBigInteger.bitLength() overflow

Prevent construction of overflowed BigIntegers.

Reviewed-by: bpb, darcy, psandoz
2013-10-30 17:45:12 -07:00
Joe Darcy 5f3b001859 8005294: Consider default methods for additions to AnnotatedElement
Reviewed-by: jfranck, plevart, mchung, abuckley, sogoel
2013-10-30 17:27:25 -07:00
Bradford Wetmore 1b03814ab7 8027526: CheckTipsAndVersions.java failing occasionally
Reviewed-by: mullan, mchung
2013-10-30 16:49:35 -07:00
Brian Goetz aee0b5cf88 8027318: Lambda Metafactory: generate serialization-hostile read/writeObject methods for non-serializable lambdas
Reviewed-by: rfield, psandoz
2013-10-29 12:31:27 -04:00
Lana Steuck f3160929ea Merge 2013-10-30 13:51:07 -07:00
Michael McMahon 9031374301 Merge 2013-10-30 18:38:20 +00:00
Michael McMahon 76f1c66ad5 8027570: NullPointerException in URLPermission.hashCode()
Reviewed-by: chegar
2013-10-30 18:37:50 +00:00
Jaroslav Bachorik 292c14d972 8020467: Inconsistency between usage.getUsed() and isUsageThresholdExceeded() with CMS Old Gen pool
Reviewed-by: mchung, brutisso
2013-10-30 17:54:48 +01:00
Lana Steuck 65797af67d Merge 2013-10-25 10:39:13 -07:00
Sergey Malenkov 9cd10573ae 8026705: [TEST_BUG] java/beans/Introspector/TestTypeResolver.java failed
Reviewed-by: art, jfranck
2013-10-25 16:42:02 +04:00
Anton Nashatyrev 7d4c16ece3 8027066: XMLDecoder in java 7 cannot properly deserialize object arrays
Reviewed-by: alexsch, malenkov
2013-10-25 13:41:19 +04:00
Lana Steuck 836ba025a1 Merge 2013-10-24 21:52:24 -07:00
David Dehaven 6c747ded77 8025673: [macosx] Disable X11 AWT toolkit
Disable but not completely remove the XAWT and headless toolkits on Mac OS X

Reviewed-by: anthony, art, ihse, erikj
2013-10-24 20:47:41 -04:00
Petr Pchelko 45dd0a7642 8027025: [macosx] getLocationOnScreen returns 0 if parent invisible
Reviewed-by: anthony, serb
2013-10-24 19:50:33 +04:00
Daniel Fuchs 482f3cc1b9 8026863: regression in anonymous Logger.setParent method
Restore behaviour of setParent in anonymous logger and clarifies the spec with respect to security permissions.

Reviewed-by: mchung, prr
2013-10-28 10:52:07 +01:00
Xueming Shen a06b63065d 8025003: Base64 should be less strict with padding
Updated spec and implementation of mime decoder to be lenient for padding

Reviewed-by: alanb
2013-10-24 11:12:59 -07:00
Joel Borggrén-Franck be2d6e6535 8023651: j.l.r.Constructor.getAnnotatedReceiverType() and j.l.r.Constructor.getAnnotatedReturnType() for inner classes return incorrect result
Reviewed-by: darcy
2013-10-24 19:04:27 +02:00
Andreas Lundblad 5db9cc7bed 8027170: Annotations declared on super-super-class should be overridden by super-class
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jfranck
2013-10-24 18:52:13 +02:00
Sergey Bylokhov b776817a56 7090424: TestGlyphVectorLayout failed automately with java.lang.StackOverflowError
Reviewed-by: anthony, art
2013-10-24 14:32:07 +04:00
Abhijit Saha 15d051e851 Merge 2013-12-07 16:15:08 -08:00
Ivan Gerasimov f14e06950e 8024521: (process) Async close issues with Process InputStream
Reviewed-by: psandoz, martin, alanb, robm
2013-10-23 15:37:40 +04:00
Alan Bateman e1c6970bd6 8026344: j.u.c.a *Adder and *Accumulator extend a package private class that is Serializable
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: rriggs, psandoz, chegar
2013-10-24 13:24:32 +01:00
Clemens Eisserer 8f5a3f7514 8023483: sun/java2d/DirectX/TransformedPaintTest/TransformedPaintTest.java failed with jdk8 on linux platforms
Reviewed-by: prr, bae
2013-10-22 13:47:45 -07:00
Leonid Romanov 9d1ce9a555 8020209: [macosx] Mac OS X key event confusion for "COMMAND PLUS"
Reviewed-by: anthony, serb
2013-10-22 16:45:08 +04:00
Chris Hegarty 506667087b Merge 2013-10-22 12:33:33 +01:00
Chris Dennis ca4ee27ab5 8024833: (fc) FileChannel.map does not handle async close/interrupt correctly
Reviewed-by: alanb
2013-10-22 12:04:19 +01:00
Alan Bateman 36e36d288c 8021257: com.sun.corba.se.** should be on restricted package list
Co-authored-by: Mark Sheppard <mark.sheppard@oracle.com>
Reviewed-by: chegar, coffeys, smarks, mullan
2013-10-22 11:43:04 +01:00
Andreas Lundblad 24b64e8c23 8004912: Repeating annotations - getAnnotationsByType(Class<T>) is not working as expected for few inheritance scenarios
8019420: Repeatable non-inheritable annotation types are mishandled by Core Reflection

Reviewed-by: jfranck
2013-10-22 12:35:27 +02:00
Joel Borggrén-Franck 415ea4460a 8009411: (reflect) Class.getMethods should not include static methods from interfaces
Update getMethods() and getMethod() to filter out interface statics

Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: darcy
2013-10-22 10:34:12 +02:00
Staffan Larsen 50a598d507 8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
Redefined class in stack trace may not be found by method_idnum so handle null.

Reviewed-by: coleenp, dcubed, sspitsyn
2013-10-21 23:32:36 -04:00
Yuka Kamiya fa9bbd8594 8020037: String.toLowerCase incorrectly increases length, if string contains \u0130 char
Reviewed-by: naoto
2013-10-22 06:13:01 +09:00
Xueming Shen 4741adaaf2 8026842: Remove Time-Zone IDs HST/EST/MST
Removed these ids from ZoneId's zid list, supported via short_ids list

Reviewed-by: okutsu
2013-10-21 11:16:02 -07:00
Chris Hegarty 388f28f83b Merge 2013-10-21 15:00:56 +01:00
Daniel Fuchs 2f8b3bf80a 8026499: Root Logger level can be reset unexpectedly
This fix prevents the logger's level to be re-initialized if it has already been initialized.

Reviewed-by: mchung
2013-10-21 12:00:58 +02:00
Daniel Fuchs d6fdb0a571 8016344: (props) Properties.storeToXML behaviour has changed from JDK 6 to 7
When storing Properties to XML only locally defined properties must be saved.

Reviewed-by: psandoz, mchung, alanb
2013-10-21 11:15:41 +02:00
Jaroslav Bachorik d491a49652 7197919: java/lang/management/ThreadMXBean/ThreadBlockedCount.java has concurency issues
Reviewed-by: sla, mchung
2013-10-21 10:40:03 +02:00
Jennifer Godinez fbb6fe5543 8025988: [macosx] Attribute settings don't work for JobAttributes range
8025990: [macosx] Attribute settings don't work for JobAttributes setOrientationRequested, setMedia

Reviewed-by: prr, jchen
2013-10-18 15:30:10 -07:00
Roger Riggs d7f0eeb825 8025828: Late binding of Chronology to appendValueReduced
Add a listener to the parseContext called when the Chronology changes

Reviewed-by: sherman
2013-10-18 16:37:58 -04:00
Pavel Punegov fd2c7a3743 8024660: TEST_BUG: java/lang/ProcessBuilder/*IOHandle.java leaving hotspot.log open in fastdebug builds
Reviewed-by: alanb
2013-10-18 16:28:35 +01:00
Ivan Gerasimov 62105105d7 8026756: Test java/util/zip/GZIP/GZIPInZip.java failed
Reviewed-by: alanb
2013-10-18 16:06:20 +04:00
Alan Bateman 0452f7b159 8026859: (fs) test/java/nio/file/Files/StreamTest.java fails to compile intermittently
Reviewed-by: psandoz
2013-10-18 13:45:54 +01:00
Xueming Shen 73ccbeb833 8025971: Remove ZoneId.OLD_SHORT_IDS
8026197: Slow reading tzdb.dat if the JRE is on a high-latency, remote file system

Removed the compatiblity old short-ids mapping

Reviewed-by: okutsu
2013-10-17 23:43:08 -07:00
Doug Lea 3f1d887049 8004138: ForkJoinTask leaks exceptions
Reviewed-by: chegar, mduigou, psandoz, martin
2013-10-17 12:43:32 -07:00
Sean Mullan 2ef954a0ff Merge 2013-10-17 10:37:27 -04:00
Sean Mullan 70492e8a66 8026346: test/java/lang/SecurityManager/CheckPackageAccess.java failing
Reviewed-by: vinnie
2013-10-17 10:18:44 -04:00
David Chase c668ed8f33 8022718: Runtime accessibility checking: protected class, if extended, should be accessible from another package
Modify accessibility check; it was muddled about Java vs JVM protection terminology.

Reviewed-by: jrose
2013-10-16 17:55:49 -04:00
Yuka Kamiya 26af18b426 8025703: Update LSR datafile for BCP 47
Reviewed-by: okutsu
2013-10-17 13:57:42 +09:00
Jennifer Godinez bdd269bb9d 8015586: [macosx] Test closed/java/awt/print/PrinterJob/PrintToDir.java fails on MacOSX
Reviewed-by: prr, jchen
2013-10-15 14:24:49 -07:00
Dan Xu bdb08c592d 7122887: JDK ignores Gnome3 proxy settings
Fix GConf and add to use GProxyResolver to handle network proxy resolution

Reviewed-by: chegar
2013-10-23 22:30:35 -07:00
Robert Field 80ce6f3ec5 8025868: Several lang/LMBD JCK tests fail with java.lang.BootstrapMethodError
Wildcard marker interfaces can cause duplicate implemented interfaces in generated lambda class

Reviewed-by: briangoetz
2013-10-23 15:16:35 -07:00
Mike Duigou 96e2b92fb1 8024688: further split Map and ConcurrentMap defaults eliminating looping from Map defaults, Map.merge fixes and doc fixes
Reviewed-by: psandoz, dholmes
2013-10-23 14:32:41 -07:00
Staffan Larsen 7108f683fc 8026789: Update test/java/lang/instrument/Re(transform|define)BigClass.sh test to use NMT for memory leak detection
Reviewed-by: dcubed
2013-10-23 15:55:31 +02:00
Chris Hegarty 28fc7fbaeb 8020758: HttpCookie constructor does not throw IAE when name contains a space
Reviewed-by: michaelm, msheppar
2013-10-23 14:38:22 +01:00
Jaroslav Bachorik 92bd2a8b2d 7112404: 2 tests in java/lang/management/ManagementFactory fails with G1 because expect non-zero pools
Reviewed-by: mchung, sjiang
2013-10-23 15:03:49 +02:00
Michael McMahon b7d5f19fe0 8025734: Use literal IP address where possible in SocketPermission generated by HttpURLPermission
Reviewed-by: chegar
2013-10-23 11:00:12 +01:00
Weijun Wang 9132d85a65 8027026: Change keytool -genkeypair to use -keyalg RSA
Reviewed-by: alanb, chegar, mullan
2013-10-23 08:32:03 +08:00
Roger Riggs 92f2e33296 Merge 2013-10-22 15:06:27 -04:00
Roger Riggs eeaf2206bb 8024686: Cleanup of java.time serialization source
Optimize serialized form of OffsetTime, OffsetDateTime; correct order of modifiers

Reviewed-by: sherman
2013-10-22 15:03:12 -04:00
Jason Uh c6ac4eb557 8025287: NPE in api/java_security/cert/PKIXRevocationChecker/GeneralTests_GeneralTests
Reviewed-by: mullan
2013-10-22 11:57:38 -07:00
Brian Burkhalter d2d0153dd6 7179567: JCK8 tests: api/java_net/URLClassLoader/index.html#Ctor3 failed with NPE
6445180: URLClassLoader does not describe the behavior of several methods with respect to null arguments

Document when a NPE will be thrown by URLClassLoader constructors, newInstance(), findClass(), and getPermissions().

Reviewed-by: alanb, mduigou, chegar, dholmes, jrose
2013-10-22 11:25:01 -07:00
Alan Bateman 11d02a8031 7074436: (sc) SocketChannel can do short gathering writes when channel configured blocking (win)
Reviewed-by: chegar
2013-10-22 14:13:06 +01:00
Tristan Yan dc564c1a27 8017779: java/net/Authenticator/B4769350.java fails
Co-authored-by: Kurchi Subhra Hazra <kurchisubhra@gmail.com>
Reviewed-by: chegar
2013-10-22 14:00:16 +01:00
Ivan Gerasimov 6b2d8a5049 8023390: Test java/net/NetworkInterface/MemLeakTest.java failed with the latest jdk8 build
Removing the test as it is unreliable and fails intermittently

Reviewed-by: chegar
2013-10-15 18:41:23 +04:00
Michael McMahon 70e5173968 8014719: HttpClient/ProxyTest.java failing with IAE HttpURLPermission.parseURI
Reviewed-by: alanb, chegar
2013-10-14 22:09:15 +01:00
Lana Steuck 4811b47b2d Merge 2013-10-14 09:52:36 -07:00
Jennifer Godinez d8f5fe01b2 8022536: closed/javax/print/TextFlavorTest.java fails
Reviewed-by: prr, jchen
2013-10-14 09:15:21 -07:00
Sergey Bylokhov a2dc296d67 8019591: JCK: testICSEthrowing_fullScreen fails: no ICSE thrown
Reviewed-by: art, anthony
2013-10-14 20:11:56 +04:00
Stefan Karlsson ba1c14b527 7196801: NPG: Fix java/lang/management/MemoryMXBean/LowMemoryTest2
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Reviewed-by: coleenp, sla
2013-10-14 14:28:50 +02:00
Tristan Yan 904f946258 8023555: test/java/net/Socks/SocksProxyVersion.java fails when machine name is localhost
Reviewed-by: chegar, alanb
2013-10-14 11:47:54 +01:00
Mike Duigou f1e20eb482 8025910: rename substream(long) -> skip and remove substream(long,long)
Reviewed-by: psandoz, henryjen
2013-10-16 13:03:58 -07:00
Daniel Fuchs 9ef30e9ae7 8013839: Enhance Logger API for handling of resource bundles
4814565: (rb) add method to get basename from a ResourceBundle

Adds Logger.setResourceBundle(ResourceBundle) and ResourceBundle.getBaseBundleName()

Reviewed-by: mchung, naoto
2013-10-16 20:47:30 +02:00
Rob McKenna 1fe89b3d70 8026245: InetAddress.getLocalHost crash if IPv6 disabled (macosx)
Reviewed-by: chegar, alanb
2013-10-16 15:06:27 +01:00
Ivan Gerasimov 71f3325481 8023431: Test java/util/zip/GZIP/GZIPInZip.java failed
Properly close PipedStreams. Additional testing for malformed input

Reviewed-by: darcy, sherman
2013-10-15 21:15:17 +04:00
Chris Hegarty 1f0c182672 Merge 2013-10-15 20:47:21 +01:00
Roger Riggs 6532244455 8025722: TemporalAdjusters and TemporalQueries
Move static from interfaces methods to supporting classes

Reviewed-by: sherman
2013-10-15 13:14:03 -04:00
Chris Hegarty 3486abb2c7 Merge 2013-10-15 13:54:01 +01:00
Daniel Fuchs c630cf1e68 8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
The test 'threadGroup.getParent() == null' can sometimes throw ACE and needs to be wrapped in doPrivileged.

Reviewed-by: alanb, mchung, dholmes
2013-10-15 13:01:28 +02:00
Chris Hegarty 766e77499d Merge 2013-10-15 09:27:32 +01:00
Henry Jen ca8301dc7d 8026362: java/lang/invoke/lambda/LogGeneratedClassesTest.java failed on windows, jtreg report Fail to org.testng.SkipException
Reviewed-by: chegar
2013-10-14 17:27:20 -07:00
Lana Steuck ccd23da6c7 Merge 2013-10-12 14:14:24 -07:00
Lana Steuck 54791de34d Merge 2013-10-11 23:27:23 -07:00
Karen Kinnear 1e73553e8c 8026213: Reflection support for private interface methods
Reviewed-by: forax, psandoz, dholmes, jfranck
2013-10-11 15:21:23 -07:00
Lana Steuck a076cb06a6 Merge 2013-10-11 14:19:50 -07:00
Alan Bateman 68b9f08d49 8019526: (fs) Files.lines, etc without Charset parameter
Reviewed-by: psandoz, henryjen
2013-10-11 20:47:15 +01:00
Morris Meyer 532ecca465 7195597: ThreadStateTest gets different results with -Xcomp
Reviewed-by: kvn
2013-10-11 12:40:14 -07:00
Sean Mullan 0a60664cf1 Merge 2013-10-11 09:17:18 -04:00
Sean Mullan 2f923e8804 8007292: Add JavaFX internal packages to package.access
Build hooks to allow closed restricted packages to be added to java.security file

Reviewed-by: erikj, dholmes, tbell
2013-10-11 08:43:07 -04:00
Petr Pchelko d599d25a49 8024185: [macosx] Fullscreen button freezes application when started with -splash
Reviewed-by: anthony, serb
2013-12-19 16:40:28 +04:00
Yekaterina Kantserova 97e991f4d6 8043529: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, jbachorik
2014-05-22 11:23:46 +02:00
Alexander Scherbatiy 83b0dd80a0 8036110: In TextField can only select text visible or to the left of the cursor
Reviewed-by: serb, pchelko
2014-05-23 14:49:36 +04:00
Joel Borggrén-Franck 8d86985765 8038994: AnnotatedType.getType() of a TypeVariable boundary without annotations return null
Reviewed-by: psandoz
2014-05-12 14:47:55 +02:00
Petr Pchelko d2f1f355bc 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
Mattias Tobiasson 949002c920 8030628: Update java/lang/management/MemoryMXBean tests to ignore GC setting by jtreg
Run tests in separate JVM with controlled GC command line options.

Reviewed-by: mchung, jbachorik
2014-05-22 12:20:25 +02:00
Tristan Yan 820eebee47 8029346: LowMemoryTestConcMarkSweepGC.sh fails intermittently with timeout
Backport from jdk 9

Reviewed-by: mchung
2014-05-22 12:16:03 +02:00
Michael McMahon a095595592 8034170: Digest authentication interop issue
Reviewed-by: chegar
2014-05-19 12:15:49 +01:00
Naoto Sato cce8b2480a 8041791: String.toLowerCase regression - violates Unicode standard
Reviewed-by: peytoia
2014-05-16 10:14:49 -07:00
Andrei Eremeev ed350938ad 7175457: [TEST_BUG] closed/java/awt/Window/AlwaysOnTop/TestAlwaysOnTopBeforeShow.java still failed
Reviewed-by: anthony, pchelko
2014-05-16 16:47:39 +04:00
Oleg Pekhovskiy 7f46daa53b 8014755: [TEST_BUG] frames didn't closed after execution some awt/dnd/ tests
Reviewed-by: serb, pchelko
2014-05-16 13:34:26 +04:00
Konstantin Shefov 9b8906104d 7124338: [macosx] Selection lost if a selected item removed from a java.awt.List
Reviewed-by: serb, anthony
2013-10-11 15:39:40 +04:00
Petr Pchelko 6468414f4a 8026143: [macosx] Maximized state could be inconsistent between peer and frame
Reviewed-by: anthony, serb
2013-10-11 11:48:52 +04:00
Lana Steuck ec2a2f991c Merge 2013-10-10 20:57:36 -07:00
Lana Steuck 5db317fd23 Merge 2013-10-10 13:33:02 -07:00
Joel Borggrén-Franck db556bacff 7044282: (reflect) Class.forName and Array.newInstance are inconsistent regarding multidimensional arrays
Reviewed-by: darcy, psandoz
2013-10-10 18:11:53 +02:00
Petr Pchelko 17c3bb8033 8024864: [macosx] Problems with rendering of controls
Reviewed-by: serb, leonidr
2013-10-10 19:27:21 +04:00
Brent Christian 5edd3cbdfe 8024709: TreeMap.DescendingKeyIterator 'remove' confuses iterator position
Override remove() method in DescendingKeyIterator

Reviewed-by: alanb, mduigou, psandoz
2013-10-09 12:13:31 -07:00
Brian Burkhalter 4ee6d9bd3a 8016252: More defensive HashSet.readObject
Add data validation checks in readObject().

Reviewed-by: alanb, mduigou, chegar
2013-10-09 11:47:48 -07:00
Stephen Colebourne bc56565f2a 8024076: Incorrect 2 -> 4 year parsing and resolution in DateTimeFormatter
Add appendValueReduced method based on a ChronoLocalDate to provide context for the value

Reviewed-by: sherman
2013-10-09 13:34:37 -04:00
Henry Jen 1f02e9968e 8023524: Mechanism to dump generated lambda classes / log lambda code generation
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: plevart, mchung, forax, jjb
2013-10-09 09:41:40 -07:00
Alexander Stepanov bff389c83b 8025649: need test to cover JDK-8000423
Reviewed-by: anthony, serb
2013-10-09 13:40:55 +04:00
Lana Steuck b6903ca07e Merge 2013-10-08 14:57:32 -07:00
Lana Steuck 14794b79d9 Merge 2013-10-08 14:53:14 -07:00
Lana Steuck b96364e53b Merge 2013-10-08 14:37:33 -07:00
Alexander Scherbatiy 9a9e0fd42c 7081594: Windows owned by an always-on-top window DO NOT automatically become always-on-top
Reviewed-by: art, anthony, serb
2013-10-08 18:45:38 +04:00
Alan Bateman 31fdd1b27c 8024788: (fs) Files.readAllBytes uses FileChannel which may not be supported by all providers
Reviewed-by: chegar
2013-10-08 10:49:09 +01:00
Henry Jen 6a322383a8 8026009: Changes for 8025968 break all stream tests
Reviewed-by: mduigou
2013-10-07 15:18:37 -07:00
Henry Jen 1542ab6eef 8025968: Integrate test improvements made in lambda repo
Reviewed-by: psandoz
2013-10-07 11:25:56 -07:00
Alexander Scherbatiy 3b9db3b7b2 8007219: [macosx] Frame size reverts meaning of maximized attribute if frame size close to display
Reviewed-by: serb, anthony
2013-10-07 16:42:29 +04:00
John R Rose be5df968ee 8024438: JSR 292 API specification maintenance for JDK 8
Add wildcard to unreflectConstructor, various clarifications and minor edits

Reviewed-by: mchung, darcy, twisti
2013-10-05 05:30:40 -07:00
John R Rose c5b5f0d6c7 8025112: JSR 292 spec updates for security manager and caller sensitivity
Align CONSTANT_MethodHandle and Lookup.find* API calls, clarify security manager & @CallerSensitive interactions

Reviewed-by: mchung, twisti
2013-10-05 05:30:39 -07:00
John R Rose 32e77eaae1 8001110: method handles should have a collectArguments transform, generalizing asCollector
Promote an existing private method; make unit tests on all argument positions to arity 10 with mixed types

Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose 4ea5f818b5 8024599: JSR 292 direct method handles need to respect initialization rules for static members
Align MH semantic with bytecode behavior of constructor and static member accesses, regarding <clinit> invocation.

Reviewed-by: twisti, darcy, abuckley, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose 154969a2bc 8001108: an attempt to use "<init>" as a method name should elicit NoSuchMethodException
Add an explicit check for leading "<", upgrade the unit tests

Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose e4df9dc1ee 8001109: arity mismatch on a call to spreader method handle should elicit IllegalArgumentException
Document error conditions that may occur when calling a "spreader" method handle.  Use IAE in all cases.

Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose 77dc59f6ca 8019417: JSR 292 javadoc should clarify method handle arity limits
Clarification of erroneous reading of spec. that led to 7194534

Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose 622186edcb 8001105: findVirtual of Object[].clone produces internal error
Replicate JVM logic for access control that makes Object.clone appear public when applied to an array type.

Reviewed-by: twisti
2013-10-05 05:30:38 -07:00
Chris Hegarty 54db1788f4 Merge 2013-10-03 19:07:42 +01:00
Chris Hegarty 6088b141e2 Merge 2013-10-03 19:06:43 +01:00
Alexander Scherbatiy 5520d11d0c 7092283: Property Window.locationByPlatform is not cleared by calling setVisible(false)
Reviewed-by: anthony, serb
2013-10-03 19:02:45 +04:00
Paul Sandoz 1604846c44 8025567: Mark relevant public stream tests as serialization hostile
Reviewed-by: alanb
2013-10-03 10:59:51 +02:00
Phil Race e43112a8ad 7179526: xrender : closed/sun/java2d/volatileImage/LineClipTest.java failed since jdk8b36
Reviewed-by: prr, jchen
2013-10-02 11:22:07 -07:00
Sergey Bylokhov 12a7707961 8013563: Memory leak in JFrame on Linux
Reviewed-by: anthony, art
2013-10-02 21:02:04 +04:00
Eric McCorkle 367fa5ac0e 8020981: Update methods of java.lang.reflect.Parameter to throw correct exceptions
Fix behavior of parameter reflection API for malformed class files.

Reviewed-by: darcy
2013-10-02 19:13:42 -04:00
Petr Pchelko d5ec67a6e5 8024163: [macosx] NullPointerException at javax.swing.TransferHandler$DropHandler.handleDrag since jdk8b93, 7u40b28
Reviewed-by: anthony, serb
2013-10-02 11:32:56 +04:00
David Katleman b4c28b3b28 Merge 2013-10-01 12:45:47 -07:00
Paul Sandoz 7ee60c366e 8025535: Unsafe typecast in java.util.stream.SortedOps
Reviewed-by: mduigou, chegar
2013-10-01 18:20:03 +02:00
Sean Coffey 8d0e77641f 8024952: ClassCastException in PlainSocketImpl.accept() when using custom socketImpl
Reviewed-by: chegar
2013-10-02 09:21:02 +01:00
Masayoshi Okutsu 824b25cc94 6902861: (cal) GregorianCalendar roll WEEK_OF_YEAR is broken for January 1 2010
Reviewed-by: peytoia
2013-10-02 15:31:35 +09:00
Vera Akulova 6d63827a99 7125471: [macosx] NofocusListDblClickTest should wait between doublr clicks
Reviewed-by: anthony, serb
2013-10-01 13:19:07 +04:00
Sergey Bylokhov 0c7604f2bc 7150100: [macosx] "0123456789" is selected in the TextField
Reviewed-by: anthony, art
2013-10-01 04:29:50 +04:00
Kumar Srinivasan a210a6a74e 8020552: [launcher] changes to support removal of Solaris 32-bit distribution
8023495: [infra] create 64-bit solaris bits with symlinks

Reviewed-by: ihse, tbell, dholmes, darcy, alanb, erikj, sla, martin
2013-09-27 16:29:44 -07:00
Patrick Reinhart 2c516bc7b4 6870661: Setting a custom PrintService on a PrinterJob leads to a PrinterException
Reviewed-by: prr, jgodinez
2013-09-27 13:04:54 -07:00
David Chase fdf6a159f5 8022701: Accessibility checking: InvocationTargetException is thrown instead of IllegalAccessError
Inserted code to convert specific exceptions, case-by-case, plus a test.

Reviewed-by: jrose, twisti
2013-09-27 13:32:32 -04:00
Eric McCorkle e92da66e0b 8021398: j.l.r.Parameter.getAnnotatedType().getType() for not annotated use of type returns null
Fixed issue with type annotation reflection framework that would cause getType of AnnotatedTypes to be null if no annotations were present.

Reviewed-by: darcy, jfranck
2013-10-01 17:35:32 -04:00
Alexander Stepanov c49c083729 8024122: [TEST] need test to cover JDK-7146572
Reviewed-by: anthony, yan
2013-09-27 14:29:27 +04:00
Lana Steuck 65dd56bc16 Merge 2013-09-26 17:21:47 -07:00
Lana Steuck 5f840f6118 Merge 2013-09-26 17:18:12 -07:00
Clemens Eisserer 00c37e4e9e 8024895: xrender MaskImage cache isn't accounting for change in alpha
Reviewed-by: prr, jchen
2013-09-26 16:30:38 -07:00
Stephen Colebourne 242f0dd3c2 8025718: Enhance error messages for parsing
Add values and types to exception messages

Reviewed-by: lancea
2013-09-26 15:19:27 -07:00
Roger Riggs c9982055b4 8024612: java/time/tck/java/time/format/TCKDateTimeFormatters.java failed
The test should be using the Locale.Category.FORMAT to verify the test data

Reviewed-by: lancea
2013-10-09 11:02:55 -04:00
Mandy Chung 18f83d0a7c 8026027: Level.parse should return the custom Level instance instead of the mirrored Level
Reviewed-by: dfuchs, chegar
2013-10-09 06:24:42 -07:00
Phil Race d0ef16f2c3 7092764: java.awt.font.TransformAttribute.equals(null) throws NPE
Reviewed-by: jgodinez, jchen
2013-09-26 15:06:39 -07:00
Brent Christian 587ef317c6 8025173: HashMap.put() replacing an existing key can trigger a resize()
Ensure that HashMap is not resized if we're just replacing a value

Reviewed-by: alanb, martin
2013-09-26 11:13:34 -07:00
Konstantin Shefov c3a64bea84 8004032: [TEST_BUG] [macosx] There is no effect when double clicking on the Icon, after right clicking on the Icon and the Icon disappear
Reviewed-by: anthony, serb
2013-09-25 16:52:46 +04:00
Alexander Scherbatiy c0720f17f6 8007155: [macosx] Disabled panel takes mouse input in JLayeredPane
Reviewed-by: serb, anthony
2013-09-25 16:17:42 +04:00
Daniel Fuchs ddddd1d31f 8025140: TEST_BUG: java/util/logging/Logger/getGlobal tests fail due to timeout
Arbitrary timeouts in the tests @run lines where too agressive for some configurations. The tests will now run with default timeout.

Reviewed-by: alanb, mchung
2013-09-25 09:47:24 +02:00
Sergey Bylokhov 10ff8a3aa4 7172833: For default java.awt.Toolkit impl methods java.awt.Toolkit.is/setDynamicLayout() are not consistent
Reviewed-by: alexsch, anthony
2013-09-23 17:55:36 +04:00
Vera Akulova ae556f32b9 8017180: [macosx] [TEST_BUG] alt-key doesn't work on macos for menu
Reviewed-by: alexsch, serb
2013-09-20 17:16:45 +04:00
Leonid Romanov bf404f9ad8 7129133: [macosx] Accelerators are displayed as Meta instead of the Command symbol
Reviewed-by: anthony, serb
2013-09-19 23:46:15 +04:00
Lana Steuck e05ff03241 Merge 2013-09-18 16:01:37 -07:00
Mike Duigou bf70514208 8025067: Unconditionally throw NPE if null op provided to Arrays.parallelPrefix
Reviewed-by: henryjen, chegar, psandoz
2013-10-01 10:23:00 -07:00
Paul Sandoz 223c6bf379 8024408: Specifications for Collection/List/Set/SortedSet.spliterator() need to document if all the (subclass) instances are required to return SIZED spliterators
Reviewed-by: alanb
2013-10-01 12:19:20 +02:00
Konstantin Shefov 441fa0cc1d 8015588: [TEST_BUG] [macosx] Test java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java fails on MacOSX
Reviewed-by: anthony, serb
2013-09-16 19:21:50 +04:00
Konstantin Shefov 52cf3b81e7 7020060: [TEST_BUG] java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java failed
Reviewed-by: anthony, serb
2013-09-16 19:15:53 +04:00
Mark Sheppard 4d540aa581 6458027: Disabling IPv6 on a specific network interface causes problems
Added a check to test if an interface is configured for IPv6 to native code TwoStacklainDatagramSocketImpl: getMulticastInterface, setMulticastInterface

Reviewed-by: chegar, michaelm
2013-09-16 14:51:48 +01:00
Alexander Scherbatiy 5b376db4f0 8008728: [macosx] Swing. JDialog. Modal dialog goes to background
Reviewed-by: serb
2013-09-16 17:45:07 +04:00
Paul Sandoz 4df3876c56 8024837: Rename java/util/concurrent/ConcurrentHashMap/toArray.java to ToArray.java
Reviewed-by: alanb
2013-09-15 16:13:41 +02:00
Stephen Colebourne ea9e3930af 8024834: Better return type for TemporalField resolve
Allow resolve method to return more than just ChronoLocalDate

Reviewed-by: sherman
2013-09-14 22:54:38 +01:00
Stephen Colebourne 2040c66b16 8024807: Add getChronlogy() to CLDT/CZDT
Alternative to method is clunky and hard to find

Reviewed-by: sherman
2013-09-14 22:50:40 +01:00
Stephen Colebourne c492e4ef1f 8024835: Change until() to accept any compatible temporal
Method until(Temporal,TemporalUnit) now uses from() to convert; Enhance from() methods where necessary

Reviewed-by: sherman
2013-09-14 22:46:49 +01:00
Petr Pchelko a7d4eaed9a 8012026: [macosx] Component.getMousePosition() does not work in an applet on MacOS
Reviewed-by: anthony, serb
2013-09-13 18:02:18 +04:00
Petr Pchelko 1a1a6829fa 8024381: The test for 8020210 does not have @bug tag
Reviewed-by: anthony, serb
2013-09-10 11:00:21 +04:00
Lana Steuck 54a198badd Merge 2013-09-06 15:09:44 -07:00
Chris Hegarty aed9248e0b Merge 2013-09-06 13:36:33 +01:00
Chris Hegarty 18f0e54e81 Merge 2013-09-06 09:41:21 +01:00
Anton Nashatyrev 8053376ea2 8023392: Swing text components printed with spaces between chars
Reviewed-by: alexsch, alexp
2013-09-05 15:37:40 +04:00
Stephen Colebourne 61fc7dfe0c 8023762: Add ChronoPeriod interface and bind period to Chronology
Make Period ISO-only, adding a Chronology-specific period concept

Reviewed-by: sherman
2013-09-04 15:18:54 +01:00
Sergey Malenkov 22039ebd3e 7172865: PropertyDescriptor fails to work with setter method name if setter is non-void
Reviewed-by: art, alexsch
2013-09-03 21:53:14 +04:00
Alexander Scherbatiy 6ffe7bb513 8007156: [macosx] Wrong events in processKeyBinding of JTable Submit Date
Reviewed-by: leonidr
2013-09-03 17:27:20 +04:00
Anthony Scarpino bae7582243 7122707: Security Providers need to have their version numbers updated for JDK8
Reviewed-by: xuelei
2013-09-19 11:59:14 -07:00
Joel Borggrén-Franck 279576cf17 8007072: Update Core Reflection for Type Annotations to match latest spec
8022324: j.l.Class.getAnnotatedInterfaces() for array type returns wrong value
8024915: j.l.r.Executable.getAnnotatedReceiverType() should return null for static methods

Update javadoc and implementation of reflection for type annotations to match latest spec

Reviewed-by: darcy
2013-09-30 11:18:18 +02:00
Dan Xu 512fbc2a59 8025128: File.createTempFile fails if prefix is absolute path
Use only the file name from the supplied prefix for backward compatibility

Reviewed-by: alanb, chegar
2013-09-27 17:09:25 -07:00
Paul Sandoz ea739968d2 8023339: Refined Collection.removeIf UOE conditions
Reviewed-by: mduigou
2013-09-27 13:30:31 -07:00
Mike Duigou e68f7e9564 8025595: Remove alt-rt.jar, used by +AggressiveOps (jdk repo portion of JDK-8024826)
Reviewed-by: alanb, chegar, dholmes, ksrini
2013-09-27 10:21:04 -07:00
Paul Sandoz bef51c4a08 8010293: java/util/concurrent/ConcurrentHashMap/toArray.java fails intermittently
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: forax, chegar, alanb
2013-09-02 11:59:57 +02:00
Roger Riggs e763c78a79 8023556: Update javadoc for start of Meiji era
Correct the javadoc in JapaneseEra.MEIJI to match the implementation

Reviewed-by: darcy, sherman
2013-09-14 13:55:06 -04:00
Roger Riggs e2940a0e25 8023639: Difference between LocalTime.now(Clock.systemDefaultZone()) and LocalTime.now() executed successively is more than 100 000 000 nanoseconds for slow machines
Test timed out on a slow machine; it is not a conformance test and should be in the test subtree

Reviewed-by: darcy, sherman
2013-09-14 13:55:04 -04:00
Mike Duigou b59dc6762e 8021591: Additional explicit null checks
Reviewed-by: psandoz, alanb
2013-09-13 11:18:44 -07:00
Mark Sheppard 767ab8c9ae 8024675: java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows
Amended test to add active, i.e. isUp(), NetworkInterfaces to test list

Reviewed-by: alanb, chegar
2013-09-13 12:20:53 +01:00
Brent Christian 276b809ff4 8024009: Remove jdk.map.useRandomSeed system property
Removed usage of hashSeed in Hashtable & WeakHashMap, and removed tests

Reviewed-by: alanb, mduigou
2013-09-12 14:22:53 -07:00
Dmitry Nadezhin 28d455529e 8010430: Math.round has surprising behavior for odd values of ulp 1
If the effective floating point exponent is zero return the significand including the implicit 1-bit.

Reviewed-by: bpb, darcy, gls
2013-09-11 17:07:35 -07:00
Roger Riggs 04a877811a 8024618: Issues with French locale on compact1,2: expected:<janvier> but was:<January>
Tests against the data of the French locale are not valid as conformance tests and are redundant with testing of the US Locale above

Reviewed-by: alanb
2013-09-12 10:58:38 -04:00
Daniel Fuchs f0317e41c1 8024525: Make Logger log methods call isLoggable()
This changeset makes the various Logger logging method call isLoggable() instead of inlining the level checks.

Reviewed-by: mchung, alanb
2013-09-12 17:01:39 +02:00
Henry Jen b83654dad2 8024500: Missing API coverage for java.util.function.BiFunction andThen
Reviewed-by: mduigou, alanb
2013-09-11 11:25:14 -07:00
Roger Riggs e49385792c Merge 2013-09-11 10:35:31 -04:00
Roger Riggs 3dc259dd94 8024164: JSR310 serialization should be described in details
The serialized-form.html should specify the stream format for interoperability

Reviewed-by: alanb
2013-09-11 10:16:21 -04:00
Chris Hegarty 9e8f2037d0 8023090: Additional debug info for java/net/NetworkInterface/Equals.java
Reviewed-by: alanb
2013-09-11 11:32:50 +01:00
Joel Borggrén-Franck 9a30d420c4 4987375: (reflect) Class.get{Declared}Method{s} does not return clone() for array types
Update spec to match long standing behavior

Reviewed-by: darcy, mchung
2013-09-11 09:45:52 +02:00
Yiming Wang befcecbd00 8023878: (fs) TEST_BUG java/nio/file/WatchService/SensitivityModifier.java fails intermittently
Reviewed-by: alanb
2013-09-10 10:42:55 +01:00
Mark Sheppard ab579cbd5f 8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address
Amended src/windows/native/java/net/NetworkInterface_winXP.c to "properly" handle Ipv6IfIndex

Reviewed-by: chegar, dsamersoff
2013-09-09 13:44:30 +01:00
Sean Mullan 38f4277489 Merge 2013-09-06 12:10:30 -04:00
Sean Mullan 23d61e9b45 8023362: Don't allow soft-fail behavior if OCSP responder returns "unauthorized"
Reviewed-by: vinnie, xuelei
2013-09-06 12:04:18 -04:00
Mark Sheppard 92c43dcb6a 8023326: [TESTBUG] java/net/CookieHandler/LocalHostCookie.java misplaced try/finally
Amended test to be more robust to set of potential exceptions thrown

Reviewed-by: chegar, khazra
2013-09-06 15:00:59 +01:00
Daniel Fuchs 33dbc2d51c 8023168: Cleanup LogManager class initialization and LogManager/LoggerContext relationship
8021003: java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java fails intermittently
8019945: test/java/util/logging/LogManagerInstanceTest.java failing intermittently

This fix untangles the class initialization of Logger and LogManager, and also cleans up the relationship between LogManager, LoggerContext, and Logger, which were at the root cause of some intermittent test failures.

Reviewed-by: mchung, martin, plevart
2013-09-09 13:59:51 +02:00
Joel Borggrén-Franck 8007590d3b 5047859: (reflect) Class.getField can't find String[].length
Reviewed-by: darcy, mchung
2013-09-06 14:20:12 +02:00
Jaroslav Bachorik 61000f0c4b 6815130: Intermittent ThreadMXBean/Locks.java test failure
Preventing stale reads from ThreadExecutionSynchronizer.waiting flag

Reviewed-by: dholmes, mchung, dfuchs
2013-09-06 10:03:16 +02:00
Jaroslav Bachorik ea3200b784 8004179: Few of test/java/lang/management/ThreadMXBean/* tests don't clean up the created threads
Just run those tests in "othervm" mode.

Reviewed-by: alanb, dfuchs, sjiang
2013-09-05 14:34:22 +02:00
Daniel Fuchs a0c3d88fba 8019853: Break logging and AWT circular dependency
Break logging and AWT circular dependency, which was at the root cause for 8023258 - Logger.getLogger() after ImageIO.read() returns different logger instance

Reviewed-by: mchung, art
2013-09-04 16:22:22 +02:00
Alan Bateman cc84e69bec 8008981: Deprecate SecurityManager checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess
Reviewed-by: anthony, art, mchung
2013-09-04 11:40:23 +01:00
Paul Sandoz 0fb014c2b3 8023463: Improvements to HashMap/LinkedHashMap use of bins/buckets and trees (red/black)
8012913: LinkedHashMap key/value/entry spliterators should report ORDERED

Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou, forax, bchristi, alanb
2013-09-04 09:34:25 +02:00
Alexander Scherbatiy f8b0bf1b23 8022401: [macosx] javax/swing/text/JTextComponent/5074573/bug5074573.java fails
Reviewed-by: anthony
2013-08-30 13:28:15 +04:00
Chris Hegarty 5df790a009 Merge 2013-08-30 09:38:23 +01:00
Chris Hegarty 369c079b32 Merge 2013-08-30 09:37:29 +01:00
Roger Riggs 1e581e11ea 8024427: Missing java.time.chrono serialization tests
Add tests and cleanup existing serialization tests

Reviewed-by: sherman
2013-10-03 15:16:14 -04:00
Dan Xu ae3b889b67 4792059: test/java/io/pathNames/GeneralSolaris.java fails on symbolic links
Exclude the possible usage of linked files or directories in the test

Reviewed-by: alanb
2013-08-29 10:43:46 -07:00
Ivan Gerasimov 06571ae862 8023130: (process) ProcessBuilder#inheritIO does not work on Windows
Reviewed-by: alanb, martin
2013-09-23 04:05:42 +01:00
Paul Sandoz 57f84d8637 8024341: j.u.regex.Pattern.splitAsStream() doesn't correspond to split() method if using an example from the spec
Reviewed-by: alanb
2013-09-20 17:11:32 -07:00
Brian Burkhalter ca9e74c63d 8024331: j.u.Map.computeIfPresent() default/nondefault implementations don't throw NPE if the remappingFunction is null and the key is absent
Explicitly check for null remappingFunction parameter.

Reviewed-by: mduigou, forax, psandoz
2013-09-20 15:12:05 -07:00
Doug Lea 851fd0447e 8024253: ThreadLocal random can use SecureRandom for the initial seed
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Reviewed-by: psandoz, chegar, alanb
2013-09-20 11:07:06 -07:00
Paul Sandoz 0f59d418d8 8024405: Spliterators.spliterator should support CONCURRENT characteristic
Reviewed-by: martin
2013-09-19 20:41:54 -07:00
Paul Sandoz 3a559a7ea0 8025002: "".codePoints().sorted().iterator().hasNext() causes NegativeArraySizeException
Reviewed-by: henryjen, alanb
2013-09-18 10:49:34 -07:00
Peter Levart c7759dc643 8011940: java.lang.Class.getAnnotations() always enters synchronized method
Reviewed-by: jfranck, chegar, psandoz, shade
2013-09-19 16:14:13 +02:00
Eric Wang 8290ada96c 8015762: TEST_BUG: java/nio/channels/DatagramChannel/AdaptDatagramSocket.java failing intermittently [win]
Reviewed-by: chegar, alanb
2013-09-18 15:13:10 +01:00
Alan Bateman 2785e7d00a 8024883: (se) SelectableChannel.register throws NPE if fd >= 64k (lnx)
Co-authored-by: Norman Maurer <nmaurer@redhat.com>
Reviewed-by: alanb, coffeys
2013-09-18 14:10:24 +01:00
Paul Sandoz 6c97499183 8023155: Ensure functional consistency across Random, ThreadLocalRandom, SplittableRandom
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Reviewed-by: mduigou
2013-08-28 22:11:14 +02:00
Xueming Shen 54b7d41e69 8023713: ZipFileSystem crashes on old zip file
To handle extra data field copy correctly even the extra data does not follow the spec

Reviewed-by: alanb, martin, chegar
2013-08-28 09:46:55 -07:00
Lana Steuck a9582521c6 Merge 2013-08-27 21:46:00 -07:00
Paul Rank a4b39faa4f 8024896: Refactor java.time serialization tests into separate subpackage
Move serialization tests to .serial subpackage

Reviewed-by: sherman
2013-08-22 10:01:47 -07:00
Sergey Malenkov eaece57c8d 8023536: Some regression tests have a wrong header
Reviewed-by: alexsch
2013-08-22 17:17:25 +04:00
Henry Jen 1d19a4f5df 8023528: Rename Comparator combinators to disambiguate overloading methods
Reviewed-by: mduigou, smarks
2013-08-21 20:41:35 -07:00
Xueming Shen d912aa501e 8023647: "abc1c".matches("(\\w)+1\\1")) returns false
To correct the wrong GroupCurly group index backoff code

Reviewed-by: alanb
2013-08-27 12:54:44 -07:00
Henry Jen b87db568f0 8023275: Wrapping collections should override default methods
Reviewed-by: mduigou, psandoz
2013-08-26 22:32:50 -07:00
Sean Mullan cff35761aa Merge 2013-08-27 12:27:31 -04:00
Sean Mullan 4520fbf983 8019830: Add com.sun.media.sound to the list of restricted package
Reviewed-by: vinnie
2013-08-27 12:04:32 -04:00
Lana Steuck ff0005f62f Merge 2013-08-26 14:53:15 -07:00
Paul Sandoz 231a351a47 8020292: j.u.SplittableRandom
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-08-26 22:55:03 +02:00
Roger Riggs e0b682f2d8 8011944: Sort fails with ArrayIndexOutOfBoundsException
Increase the size of pending stack and add test cases

Reviewed-by: alanb
2013-08-26 11:46:05 -04:00
Doug Lea 56dbd896c3 8023234: StampedLock serializes readers on writer unlock
Sync-up the fix from jsr166 CVS, signal more readers on writer unlock

Reviewed-by: martin, shade
2013-08-26 17:50:34 +04:00
Joel Borggrén-Franck d4b28471ff 8022343: j.l.Class.getAnnotatedSuperclass() doesn't return null in some cases
Reviewed-by: darcy, vromero, psandoz
2013-08-26 13:38:14 +02:00
Ivan Gerasimov 910d9b815c 7129312: BufferedInputStream calculates negative array size with large streams and mark
Reviewed-by: alanb
2013-08-25 23:20:59 +04:00
Yiming Wang 423284cd20 8023139: java/nio/file/WatchService/SensitivityModifier.java failing intermittently (win8)
Reviewed-by: alanb
2013-08-26 10:01:27 +01:00
Brian Burkhalter 6c5c2d745a 6378503: In java.math.BigDecimal, division by one returns zero
6446965: Using BigDecimal.divideToIntegralValue with extreme scales can lead to an incorrect result

Fix overflow of ints and ensure appropriate values passed to checkScaleNonZero()

Reviewed-by: darcy, martin
2013-08-23 14:15:54 -07:00
Daniel Fuchs 6d2de008d7 8005899: Logger.getLogger(name, null) should not allow to reset a non-null resource bundle
Reviewed-by: mchung, lancea
2013-08-23 20:59:34 +02:00
Lana Steuck 403562720b Merge 2013-08-20 17:44:18 -07:00
Peter Levart 75a8f58cd1 8022721: AnnotationTypeDeadlockTest.java throws java.lang.IllegalStateException: unexpected condition
Reviewed-by: alanb, jfranck
2013-08-20 14:13:59 +02:00
Dan Xu 31584b6b19 8023430: Replace File.mkdirs with Files.createDirectories to get MaxPathLength.java failure details
Reviewed-by: alanb
2013-08-22 11:43:18 -07:00
Staffan Larsen 138561d596 8023101: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java fails
Reviewed-by: ysr
2013-08-22 08:28:53 +02:00
Ben Evans c9443a8346 8016846: Pattern.splitAsStream tests required
Reviewed-by: alanb, psandoz
2013-08-20 14:23:32 -07:00
Paul Sandoz 906bb894db 8023367: Collections.emptyList().sort((Comparator)null) throws NPE
Reviewed-by: alanb, mduigou
2013-08-20 17:36:15 +02:00
Xue-Lei Andrew Fan 2e2313ef87 8020842: IDN do not throw IAE when hostname ends with a trailing dot
Reviewed-by: weijun, michaelm
2013-08-19 17:42:39 -07:00
Sergey Bylokhov 79a458c3d4 8020051: [TEST_BUG] Testcase for 8004859 has a typo
Reviewed-by: anthony
2013-08-16 16:52:53 +04:00
Weijun Wang d42579b647 8022945: Enhance JNDI implementation classes
Reviewed-by: xuelei, ahgross, skoivu
2013-08-16 17:57:27 +08:00
Chris Hegarty 60e31c0960 Merge 2013-08-15 21:44:35 +01:00
Lana Steuck d2e96c4350 Merge 2013-08-13 15:49:37 -07:00
Paul Sandoz ea67b80891 8022898: java/util/Spliterator/SpliteratorCollisions.java fails in HashableIntSpliteratorWithNull data provider
Reviewed-by: henryjen, alanb, rriggs
2013-08-16 12:46:39 +02:00
Paul Sandoz 772a828f73 8012940: More than 50 tests failed in Serialization/DeSerialization testing (test-mangled)
Reviewed-by: ksrini
2013-08-16 12:46:30 +02:00
Paul Sandoz 3c90e54214 8023150: java/util/stream tests no longer compiling following JDK-8019401
Reviewed-by: alanb
2013-08-16 12:29:58 +02:00
Christian Thalinger 53b5f75095 8022066: Evaluation of method reference to signature polymorphic method crashes VM
Reviewed-by: jrose
2013-08-12 13:47:21 -07:00
Brian Goetz 4030ed819b 8019401: Collectors.collectingAndThen
Reviewed-by: mduigou
2013-08-12 12:06:50 -04:00
Dan Xu bcc5da3b77 4858457: File.getCanonicalPath() throws IOException when invoked with "nul" (win)
Reviewed-by: alanb
2013-08-15 12:36:50 -07:00
Ivan Gerasimov d72491e426 8022584: Memory leak in some NetworkInterface methods
Reviewed-by: alanb, dholmes, chegar, michaelm
2013-08-13 13:04:21 +04:00
Yiming Wang ab37de55bf 8015765: TEST_BUG: java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failing intermittently
Reviewed-by: chegar, dholmes, alanb
2013-08-15 13:42:45 +01:00