Commit Graph

4748 Commits

Author SHA1 Message Date
Phil Race
e1256b4559 Merge 2017-04-13 10:01:46 -07:00
Roger Riggs
19215787f8 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: alanb, bpb
2017-04-11 14:18:22 -04:00
Daniel Fuchs
4288d68f08 8178147: Race conditions in timeout handling code in http/2 incubator client
Timeout handling code (in particular cancel(IOException)) is modified to take into account cancellation arising before exchange implementation is established or response completable future is created. TimeoutEvent::compareTo method is modified to be consistent with TimeoutEvent::equals.

Reviewed-by: prappo, chegar, michaelm
2017-04-11 16:32:38 +01:00
Weijun Wang
54b221f867 8177969: Faster FilePermission::implies by avoiding the use of Path::relativize
Reviewed-by: rriggs, mullan
2017-04-11 10:12:27 +08:00
Phil Race
e7b27e28bd Merge 2017-04-10 09:05:24 -07:00
Phil Race
dbf777504b Merge 2017-04-10 08:31:37 -07:00
Semyon Sadetsky
cd75832796 8164469: [TEST_BUG] Unity, java/awt/MouseInfo/JContainerMousePositionTest.java
Reviewed-by: yan, serb
2017-04-10 08:30:12 -07:00
Rahul Singh
0653224fe3 8177386: [TESTBUG] The "Undo" menu item in the context menu is disable
Reviewed-by: serb, aghaisas
2017-04-10 16:20:40 +05:30
Brian Burkhalter
06164475de 8178074: (ch) java/nio/channels/etc/AdaptorCloseAndInterrupt.java: add instrumentation
Add some print statements to indicate state at strategic points

Reviewed-by: chegar
2017-04-07 11:31:57 -07:00
Alan Bateman
edcaebfcce Merge 2017-04-07 10:53:42 +01:00
Alan Bateman
02cfdc2061 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-04-07 08:05:54 +00:00
Mandy Chung
c7743f7698 8177980: ResourceBundle.getBundle throws NoClassDefFoundError when fails to define a class
Reviewed-by: naoto, lancea
2017-04-05 10:55:31 -07:00
Brian Burkhalter
6b38dd561d 8177984: (ch) java/nio/channels/SocketChannel/VectorIO.java should use RandomFactory
Obtain Random from RandomFactory instead of directly.

Reviewed-by: clanger
2017-04-04 08:10:13 -07:00
Daniel Fuchs
7bae55cd1f 8177835: System.LoggerFinder#getLogger or getLocalizedLogger does not throw NPE
Reviewed-by: rriggs, mchung
2017-04-03 12:54:43 +01:00
Anton Litvinov
6f11b96297 8167102: [macosx] PrintRequestAttributeSet breaks page size set using PageFormat
Reviewed-by: psadhukhan, prr
2017-03-31 19:42:22 +03:00
Jesper Wilhelmsson
2c1bc6bfa8 Merge 2017-03-30 19:55:04 +02:00
Dmitry Markov
614b710fe7 8176490: [macosx] Sometimes NSWindow.isZoomed hangs
Reviewed-by: serb, azvegint
2017-03-29 19:00:23 +03:00
Brian Burkhalter
ec2626b88e 8177559: Enable java/nio/channels/Selector/OutOfBand.java for macOS >= 10.10.5
Enable test for macOS 10.10.5 and newer and remove from problem list

Reviewed-by: alanb, amlu
2017-03-28 09:02:59 -07:00
Brian Burkhalter
b9cff83140 8177565: java/nio/channels/Selector/SelectorLimit.java disabled for Windows release >= 6.0
Remove check of Windows version

Reviewed-by: alanb
2017-03-24 15:02:19 -07:00
Brian Burkhalter
cc398424f9 8177564: Remove check for Windows XP and Server 2003 in java/nio/channels/DatagramChannel/NetworkConfiguration.java
Remove check for XP and Server 2003 in IPv6 support determination.

Reviewed-by: alanb
2017-03-24 14:46:52 -07:00
Brian Burkhalter
fe9e5e1b5e 8177550: (fc) Enable java/nio/channels/FileChannel/{Transfer4GBFile.java,TransferTo6GBFile.java} on Linux and Windows
Re-enabled tests currently suppressed on Linux and Windows as the timeouts have been increased.

Reviewed-by: alanb
2017-03-24 09:16:58 -07:00
Jesper Wilhelmsson
ef8ca6ed35 Merge 2017-03-23 15:06:58 +01:00
Igor Ignatyev
972a49157a 8177374: fix module dependency declaration in jdk_svc tests
Reviewed-by: mchung, sspitsyn
2017-03-22 17:57:22 -07:00
Alan Bateman
9ccff870cb Merge 2017-03-22 18:41:22 +00:00
Alan Bateman
b19eb2766f 8174823: Module system implementation refresh (3/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, mchung, alanb
2017-03-22 16:26:27 +00:00
Amy Lu
7e65c94ef9 8177383: Wrong @modules in java/io/FilePermission/ReadFileOnPath.java
Reviewed-by: alanb
2017-03-22 19:40:20 +08:00
Phil Race
4227cf1df0 Merge 2017-03-21 08:48:14 -07:00
Jesper Wilhelmsson
413bca82eb Merge 2017-03-20 23:49:33 +01:00
Brian Burkhalter
8f68c5a17d 8176895: (fc) Split java/nio/channels/FileChannel/Transfer.java into smaller tests
Move sub-tests writing 4GB and 6GB files into two separate tests

Reviewed-by: clanger
2017-03-17 08:38:12 -07:00
Pavel Rappo
c4b3290e90 8176882: Incorrect integer comparison in version numbers
Reviewed-by: psandoz
2017-03-16 22:58:13 +00:00
Roger Riggs
740035f8ed 8176272: (process) ProcessHandle::onExit fails to wait for non-child process
Reviewed-by: chegar, stuefe
2017-03-16 15:40:38 -04:00
Sergey Bylokhov
2ca1aa96b5 8160270: dual-screen issue with java.awt.Choice
Reviewed-by: prr, alexsch
2017-03-16 22:03:08 +03:00
Phil Race
a50e44a79b Merge 2017-03-16 09:51:15 -07:00
Brian Burkhalter
ad6392624e 8176846: (fc) Increase timeouts of and instrument some tests using FileChannel#write
Change tests to improve odds of passing on slow file systems.

Reviewed-by: clanger, rriggs
2017-03-16 08:58:31 -07:00
Pavel Rappo
9599368607 8160956: Runtime.Version.compareTo/compareToIgnoreOpt problem
Reviewed-by: mr
2017-03-16 15:30:54 +00:00
Igor Ignatyev
062caf2df9 8176176: fix @modules in jdk_svc tests
Reviewed-by: shurailine, sspitsyn
2017-03-15 22:48:59 -07:00
Mandy Chung
333fe2286b 8176815: Remove StackFramePermission and use RuntimePermission for stack walking
Reviewed-by: alanb, bchristi
2017-03-15 18:08:46 -07:00
Sergey Bylokhov
2c6eb1441f 8176448: [macos] Popups in JCombobox and Choice have incorrect location in multiscreen systems
Reviewed-by: alexsch, azvegint
2017-03-15 18:56:21 +03:00
Brian Burkhalter
990e5a380e 8176744: Improve internal timing of java/nio/channels/Selector/SelectAndClose.java
Replace two sleeps with CountDownLatch+sleep and Thread.join()

Reviewed-by: rriggs, alanb
2017-03-14 16:43:59 -07:00
Doug Lea
ca15073223 8176551: testCommonPoolThreadContextClassLoader fails with "Should throw SecurityException"
Reviewed-by: martin, chegar, dholmes, amlu
2017-03-14 07:04:50 -07:00
Phil Race
49f2291e44 Merge 2017-03-10 09:20:55 -08:00
Doug Lea
2accd8450e 8176303: Flow.Subscription.request(0) should be treated as an error
Reviewed-by: martin, chegar
2017-03-10 08:59:14 -08:00
Xueming Shen
f739e1fd5e 8176029: Linebreak matcher is not equivalent to the pattern as stated in javadoc
Reviewed-by: rriggs
2017-03-09 12:39:34 -08:00
Brian Burkhalter
dc1f5f4107 8176237: (fs) java/nio/file/FileStore/Basic.java should conditionally check FileStores
On Unix platforms, spawn a 'df' process and skip FileStore check if it hangs

Reviewed-by: alanb, chegar
2017-03-09 08:58:58 -08:00
Brian Burkhalter
ac6b3c4d5d 8176332: Increase sleep time in java/nio/channels/Selector/ChangingInterests.java write1()
Increase sleep from 50 to 150 ms.

Reviewed-by: alanb
2017-03-09 08:55:59 -08:00
Mandy Chung
e808c7a09e 8175797: (ref) Reference::enqueue method should clear referent before enqueuing
Reviewed-by: alanb, kbarrett, mr
2017-03-09 07:41:48 -08:00
Artem Smotrakov
b2a42d78ef 8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows
Reviewed-by: weijun
2017-03-08 18:54:34 -08:00
Felix Yang
61c3a29e0c 8176195: Fix misc module dependencies in jdk_core tests
Reviewed-by: mchung
2017-03-08 17:17:41 -08:00
Brian Burkhalter
8835635183 8176394: Incorrect relational operator in java/nio/channels/FileChannel/InterruptDeadlock.java
Change Reader thread run method so it reads continuously as intended

Reviewed-by: alanb
2017-03-08 12:14:25 -08:00
Brian Burkhalter
53c99e5093 8176317: (ch) Add print of timeout value to java/nio/channels/AsynchronousSocketChannel/Basic.java
Add print of timeout value.

Reviewed-by: alanb
2017-03-08 09:53:19 -08:00