Commit Graph

3490 Commits

Author SHA1 Message Date
Sergey Bylokhov
b96af1d249 8138764: In some cases the usage of TreeLock can be replaced by other synchronization
Reviewed-by: alexp, alexsch
2015-10-21 18:32:56 +03:00
Semyon Sadetsky
d910e3843f 8022334: After calling frame.toBack() dialog goes to the back on Ubuntu 12.04
Reviewed-by: alexsch, serb
2015-10-20 15:59:51 +03:00
Semyon Sadetsky
d1544f66eb 8011616: JWindow.getLocation and JWindow.getLocationOnScreen return different values on Unity
Reviewed-by: alexsch, serb
2015-10-20 15:42:59 +03:00
Renjith Alexander
1127171d12 8136592: [TEST_BUG] Fix 2 platform-specific closed regtests for jigsaw
Reviewed-by: serb, yan
2015-10-20 12:42:21 +03:00
Paul Sandoz
5e8d2b8ebd 8080418: Add Optional.or()
Reviewed-by: chegar, forax, scolebourne
2015-10-19 11:28:50 -07:00
Sergey Bylokhov
206483e8b3 6815345: java.awt.Component.createImage(int width,int height) should remove behavioral optionality
Reviewed-by: prr, ssadetsky
2015-10-18 13:33:20 +03:00
Sean Coffey
7af86aa369 6907252: ZipFileInputStream Not Thread-Safe
Reviewed-by: sherman
2015-10-15 09:33:03 +01:00
Joe Darcy
655a976e65 8136799: Port fdlibm cbrt to Java
Reviewed-by: bpb
2015-10-14 16:17:08 -07:00
Doug Lea
c38b0eaba5 8134853: Bulk integration of java.util.concurrent classes
8080939: ForkJoinPool and Phaser deadlock
8044616: Clients of Unsafe.compareAndSwapLong need to beware of using direct stores to the same field
8071638: [JAVADOC] Buggy example in javadoc for afterExecute to access a submitted job's Throwable
8043743: Data missed in java.util.concurrent.LinkedTransferQueue
8054446: Repeated offer and remove on ConcurrentLinkedQueue lead to an OutOfMemoryError
8031374: TEST_BUG: java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java fails Intermittently
8034208: Cleanup to test/java/util/concurrent/BlockingQueue/Interrupt.java
8035661: Test fix java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java from jsr166 CVS
8062841: ConcurrentHashMap.computeIfAbsent stuck in an endless loop
8073208: javadoc typo in java.util.concurrent.Executor
8073704: FutureTask.isDone returns true when task has not yet completed
8037093: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails intermittently
8022642: ScheduledThreadPoolExecutor with zero corePoolSize create endlessly threads
8065320: Busy loop in ThreadPoolExecutor.getTask for ScheduledThreadPoolExecutor
8129861: High processor load for ScheduledThreadPoolExecutor with 0 core threads
8051859: ScheduledExecutorService.scheduleWithFixedDelay fails with max delay
7146994: example afterExecute for ScheduledThreadPoolExecutor hangs

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:45:35 -07:00
Doug Lea
0f49a089d6 8134855: Bulk integration of java.util.concurrent.locks classes
8051848: ReentrantReadWriteLock.ReadLock fails on unlock by different thread
8049843: Lack of save / restore interrupt mechanism undermines the StampedLock

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:35:22 -07:00
Doug Lea
2d8e9b323c 8134852: Integrate fork/join with API enhancements
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:15:06 -07:00
Doug Lea
cf43156eed 8134851: Integrate CompletableFuture with API enhancements
8039378: CompletableFuture: Avoid StackOverflowError for long linear chains

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:04:56 -07:00
Phil Race
0d765d8e4c Merge 2015-10-12 14:41:36 -07:00
Daniel Fuchs
bd69fa0635 8033661: readConfiguration does not cleanly reinitialize the logging system
Two new updateConfiguration methods have been added to LogManager: call updateConfiguration to update a configuration *after* the LogManager is initialized.

Reviewed-by: mchung
2015-10-12 20:13:22 +02:00
Sergey Bylokhov
f07facd339 8136858: Examine the usage of ThreadGroup.stop() in sun.awt.AppContext
Reviewed-by: alexsch, chegar
2015-10-12 16:26:58 +03:00
Prasanta Sadhukhan
279a05d2b2 8072682: getBounds call on graphics.getDeviceConfiguration() returning cached information
Reviewed-by: serb, flar
2015-10-12 15:28:03 +03:00
Amy Lu
b14bbfc3da 8139407: Mark java/rmi/registry/readTest/readTest.sh as intermittently failing
Reviewed-by: chegar
2015-10-12 17:07:40 +08:00
Weijun Wang
4768e44b34 8085904: Test timeout on Mac
Reviewed-by: wetmore
2015-10-09 09:33:54 +08:00
Lance Andersen
dbf26ce3d5 8139056: Add convenience methods to Statement.java
Reviewed-by: joehw, rriggs
2015-10-22 11:36:17 -04:00
Chris Hegarty
6a0a6eb7be 8139352: java/net/InetAddress/getOriginalHostName.java fails to compile
Reviewed-by: mchung, henryjen
2015-10-12 10:33:51 +01:00
Paul Sandoz
25c1cff728 8135248: Add utility methods to check indexes and ranges
Reviewed-by: forax, chegar, scolebourne, jrose, darcy
2015-10-07 15:22:43 +02:00
Joe Darcy
f674b491a6 8138823: Correct bug in port of fdlibm hypot to Java
Reviewed-by: bpb
2015-10-06 18:39:26 -07:00
David Dehaven
0dfc929625 Merge 2015-10-06 12:51:55 -07:00
David Dehaven
1d92a8874c Merge 2015-10-05 13:45:50 -07:00
Naoto Sato
f8dca18a53 8138613: Remove SPI locale provider adapter from the default provider list
Reviewed-by: okutsu
2015-10-05 08:16:11 -07:00
Prasanta Sadhukhan
13ee9e097f 8132985: Crash in freetypescaler.c due to double free
Reviewed-by: prr, simonis
2015-10-05 15:36:43 +03:00
Semyon Sadetsky
4a3dff3ee5 8079595: Resizing dialog which is JWindow parent makes JVM crash
Reviewed-by: alexsch, serb
2015-10-05 15:29:23 +03:00
Masayoshi Okutsu
ff7c1c3bca 8138663: Missing @build in test/java/text/Format/DecimalFormat/RoundingAndPropertyTest.java
Reviewed-by: naoto
2015-10-02 13:21:46 +09:00
Ambarish Rapte
6a2fabcbd7 8040322: TextArea.replaceRange() and insert() are broken with setText(null)
Reviewed-by: serb, azvegint
2015-09-30 17:46:11 +04:00
Alexander Scherbatiy
53ab9a2026 8134917: [macosx] JOptionPane doesn't receive mouse events when opened from a drop event
Reviewed-by: serb
2015-09-29 15:19:52 +04:00
David Dehaven
5636c168b4 Merge 2015-09-28 08:14:42 -07:00
Amy Lu
25a239c820 8137232: Mark 3 more core-libs tests as intermittently failing
Reviewed-by: chegar
2015-09-28 16:39:12 +03:00
Chris Hegarty
0cc24c29ca 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:27 +01:00
Amanda Jiang
8fb17dea79 8050402: Tests to check for use of policy files
Reviewed-by: mullan
2015-09-26 12:08:55 +03:00
Ivan Gerasimov
1613e728cc 8137121: (fc) Infinite loop FileChannel.truncate
Reviewed-by: alanb
2015-09-26 00:23:15 +03:00
Naoto Sato
a463c1a271 8136518: java/util/TimeZone/CLDRDisplayNamesTest.java fails for de
Reviewed-by: okutsu
2015-09-24 09:05:24 -07:00
Joe Darcy
47814c8df0 7130085: Port fdlibm hypot to Java
Reviewed-by: bpb
2015-09-23 14:14:14 -07:00
Roger Riggs
4e7617c040 8132541: (process) ProcessBuilder support for redirection to discard output
Add redirect to NUL or /dev/null depending on the OS

Reviewed-by: chegar, martin
2015-09-23 11:18:34 -04:00
Alejandro Murillo
9b6068f1cd Merge 2015-11-02 10:47:29 -08:00
Naoto Sato
5710e3c754 8062006: Add a new locale data name "COMPAT" for java.locale.providers system property to reduce ambiguity
Reviewed-by: okutsu
2015-11-02 08:46:19 -08:00
Alejandro Murillo
ed550bb440 Merge 2015-10-30 12:03:09 -07:00
Dean Long
19aba3bac9 Merge 2015-10-27 01:45:03 -04:00
Rachna Goel
4fc5003ff5 8061287: Update i18n tests to remove references of jre dir
Updated PropertiesTest.sh to remove references of jre dir.

Reviewed-by: naoto, peytoia
2015-10-26 19:49:22 +05:30
Alexandre Iline
9cbe14b4df 8140336: Add @modules for exported dependencies to jdk_core tests
Reviewed-by: alanb, mchung
2015-10-27 20:06:02 -07:00
Brent Christian
084b341c80 8138824: java.lang.String: spec doesn't match impl when ignoring case - equalsIgnoreCase(), regionMatches()
Reviewed-by: naoto, rriggs
2015-10-27 09:20:24 -07:00
Michael Haupt
43fd9baef4 8136967: revert all changes applied to obtain information about 8131129
Reviewed-by: sundar
2015-10-27 09:09:37 +01:00
Vladimir Ivanov
317553031c 8139881: Exclude java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java from execution
Reviewed-by: kvn
2015-10-19 17:52:39 +03:00
Michael Haupt
f1f609ddaa 8136931: more fine-grained condition checking for BMH species creation
Reviewed-by: psandoz, sundar
2015-09-23 08:43:51 +02:00
Naveen Kumar
aef9a19da8 8081794: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem
Reviewed-by: peytoia, okutsu
2015-10-01 15:16:35 +09:00
Rob McKenna
ddf365ac99 8135305: InetAddress.isReachable reports true when loopback interface is specified
Reviewed-by: michaelm
2015-10-01 00:09:51 +01:00
Joe Darcy
112eb7283e 8136874: Bug in port of fdlibm pow to Java
Reviewed-by: bpb
2015-09-30 15:25:29 -07:00
Roger Riggs
eda52119fb 8137313: TreeTest.java intermittently fails with a timeout
Enhance debugging information

Reviewed-by: chegar, darcy
2015-09-30 12:33:08 -04:00
Daniel Fuchs
95b5f4d550 8137289: java/util/logging/DrainFindDeadlockTest.java hangs
Removed timeout=10 from @run command line. added new debug traces.

Reviewed-by: chegar, mchung
2015-09-30 11:17:32 +02:00
Ivan Gerasimov
f3e4326747 8137230: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out
Reviewed-by: rriggs
2015-09-29 17:26:14 +03:00
Alexander Scherbatiy
2c3b2dd68e 8133453: Deprecate AWTKeyStroke.registerSubclass(Class) method
Reviewed-by: serb, azvegint
2015-09-22 14:05:37 +04:00
Tagir Valeev
94ba18f8b4 8136686: Collectors.counting can use Collectors.summingLong to reduce boxing
Reviewed-by: psandoz
2015-09-19 15:26:34 +02:00
Phil Race
68a1bc4701 Merge 2015-09-18 11:31:15 -07:00
Phil Race
c79e901452 Merge 2015-09-18 11:24:54 -07:00
Vinnie Ryan
5d5ef39f51 8136534: Loading JKS keystore using non-null InputStream results in closed stream
Reviewed-by: mullan, wetmore
2015-09-18 17:54:28 +01:00
Phil Race
ec5f966a54 Merge 2015-09-18 09:18:17 -07:00
Roger Riggs
9d5cbc5fbc 8132735: java/lang/ProcessHandle/TreeTest failed with java.lang.AssertionError: Start with zero children
Revise test to only operate on processes it spawns

Reviewed-by: chegar
2015-09-17 22:46:04 -04:00
Roger Riggs
0d17c738d7 Merge 2015-09-17 22:46:02 -04:00
Joe Darcy
67603e6d54 8134795: Port fdlibm pow to Java
Reviewed-by: bpb
2015-09-17 13:43:06 -07:00
Roger Riggs
6eb869c3d6 Merge 2015-09-17 13:33:33 -04:00
Stuart Marks
343e882e7f 8072722: add stream support to Scanner
Reviewed-by: psandoz, chegar, sherman
2015-09-16 16:24:35 -07:00
Semyon Sadetsky
450cdf7f65 8131670: [TEST_BUG]Test java/awt/EventQueue/6980209/bug6980209.java fails on Linux
Reviewed-by: alexsch, serb
2015-09-16 10:32:46 +03:00
Semyon Sadetsky
ffb466574f 8014725: closed/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html failed intermittently
Reviewed-by: alexsch, azvegint
2015-09-16 10:22:42 +03:00
Martin Buchholz
a2f0fe3c94 8136583: Core libraries should use blessed modifier order
Run blessed-modifier-order script (see bug)

Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Roger Riggs
1b8b6a4655 8133528: java/lang/ProcessHandle/OnExitTest.java fails intermittently
Remove checks for processes not spawned by the test

Reviewed-by: joehw
2015-09-15 22:11:00 -04:00
Alexander Scherbatiy
e643aeb178 8029339: Custom MultiResolution image support on HiDPI displays
Reviewed-by: flar, serb
2015-09-15 15:31:34 +04:00
Frank Yuan
371edc6684 8074931: Additional tests for CertPath API
Reviewed-by: mullan
2015-09-15 12:43:12 +03:00
Artem Smotrakov
f1f48ab0d3 8134232: KeyStore.load() throws an IOException with a wrong cause in case of wrong password
Reviewed-by: vinnie
2015-09-14 19:49:28 +03:00
Phil Race
e1ca4d3a94 Merge 2015-09-14 09:40:24 -07:00
Ambarish Rapte
b6f5a1c457 8039467: [TEST_BUG] Test java/awt/Choice/UnfocusableToplevel/UnfocusableToplevel.java lefts keystrokes in a keyboard buffer on Windows
Reviewed-by: serb, alexsch
2015-09-14 18:54:04 +04:00
Pooja Chopra
da688f57c3 8136354: [TEST_BUG] Test java/awt/image/RescaleOp/RescaleAlphaTest.java with Bad action for script
Reviewed-by: azvegint, serb
2015-09-11 17:58:31 +03:00
Roger Riggs
ed3d59c71a 8133552: java/lang/ProcessHandle/InfoTest.java fails intermittently - incorrect user
8133809: Remove java/lang/ProcessHandle/InfoTest.java from the Problem List

Reviewed-by: darcy, chegar, simonis
2015-09-11 09:25:15 -04:00
Roger Riggs
aeb4acfb60 8135094: (process) java/lang/ProcessHandle/InfoTest fails testing commandLine()
Reviewed-by: chegar, simonis
2015-09-09 16:12:55 -04:00
Anton Nashatyrev
cb34d07ae1 8081485: EDT auto shutdown is broken in case of new event queue usage
Reviewed-by: serb, alexp
2015-09-09 19:10:38 +03:00
Ivan Gerasimov
50aa8839d5 8072466: Deadlock when initializing MulticastSocket and DatagramSocket
Reviewed-by: chegar
2015-09-09 16:33:19 +03:00
David Holmes
f032aa1311 8133611: Remove java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java from problem list
Reviewed-by: darcy
2015-09-09 04:02:59 -04:00
Phil Race
f39c6aeb63 Merge 2015-09-08 14:40:44 -07:00
Phil Race
d69a0641fd Merge 2015-09-08 11:47:07 -07:00
Chris Hegarty
9ce7c19d86 8135043: ObjectStreamClass.getField(String) too restrictive
Reviewed-by: igerasim
2015-09-08 12:40:57 +01:00
Renjith Alexander
4130b71ce6 8133027: [Jigsaw] Test java/awt/PrintJob/Text/stringwidth.sh fails during compilation
Reviewed-by: yan, serb
2015-09-08 11:28:16 +03:00
Sergey Bylokhov
6fe3341869 8060027: Tests java/beans/XMLEncoder/Test4903007.java and java/beans/XMLEncoder/java_awt_GridBagLayout.java
Reviewed-by: alexsch
2015-09-07 23:29:56 +03:00
Renjith Alexander
dc25f76093 8133539: [TEST_BUG] Split java/awt/image/MultiResolutionImageTest.java in two to allow restricted access
Reviewed-by: alexsch, serb
2015-09-07 13:48:24 +03:00
Brian Burkhalter
005143e035 8135091: (fs) java/nio/file/Files/StreamLinesTest.java should test empty files
In lines() add zero length case and rearrange first loop to avoid duplicate cases.

Reviewed-by: rriggs
2015-09-04 14:16:34 -07:00
Sergey Bylokhov
1efc947d2a 8080948: [TEST_BUG] Few test cases are failing due to use of getPeer()
Reviewed-by: prr, yan, alexsch
2015-09-03 19:19:15 +03:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Sean Coffey
6a867ae5df 8133196: HTTPS hostname invalid issue with InetAddress
Reviewed-by: chegar, xuelei
2015-09-01 18:12:07 +01:00
Renjith Alexander
abdaade63f 8132376: Add @requires os.family to the client tests with access to internal OS-specific API
Reviewed-by: yan, alexsch
2015-09-01 11:03:43 +03:00
Phil Race
4abc68cead Merge 2015-08-31 11:29:55 -07:00
Brian Burkhalter
44c462ee50 8133987: (fs) Rename GnomeFileTypeDetector to GioFileTypeDetector
Rename class and associated native file as indicated and fix some related comments in the source and test.

Reviewed-by: alanb
2015-08-28 10:46:43 -07:00
Peter Brunet
1dbf8f4761 8134456: jdk/test/java/lang/SecurityManager/CheckPackageAccess.java failing on several platforms
Add new restricted packages to the test code

Reviewed-by: mullan, mchung
2015-08-27 22:35:24 -05:00
David Dehaven
7436faa3d1 Merge 2015-08-26 09:07:21 -07:00
Sergey Bylokhov
66ae036b1f 8047226: closed/java/awt/Component/GetScreenLocTest/GetScreenLocTest.html clicks on Unity's tool bar
Reviewed-by: azvegint, alexsch
2015-08-26 18:03:21 +03:00
David Dehaven
5fe6ba60cb Merge 2015-08-25 14:32:08 -07:00
David Dehaven
eedfee9bfa Merge 2015-08-25 12:19:46 -07:00
Rob McKenna
9835141429 8087190: Regression in sun.net.util.IPAddressUtil.isIPv4LiteralAddress(String)
Reviewed-by: chegar
2015-08-25 14:07:08 +01:00
Vinnie Ryan
79e58cc0e5 8132786: java/security/cert/CertPathValidator/OCSP/AIACheck.java fails intermittently
Reviewed-by: mullan
2015-08-24 16:22:37 +01:00