Commit Graph

239 Commits

Author SHA1 Message Date
David Buck fd76f4398c 8168628: (fc) SIGBUS when extending file size to map it
8171452: (ch) linux io_util_md: Operation not supported exception after 8168628

Reviewed-by: alanb, bpb
2018-02-06 03:50:10 -05:00
Alex Kashchenko 61004d5026 8153925: (fs) WatchService hangs on GetOverlappedResult and locks directory (win)
Co-authored-by: Thomas Mader <tmader@redhat.com>
Reviewed-by: alanb
2016-05-03 07:44:52 +01:00
Sebastian Sickelmann 667f4cae26 8145981: (fs) LinuxWatchService can reports events against wrong directory
Fixes wakeup mechanism of LinuxWatchService and introduces a test

Reviewed-by: alanb
2015-12-30 19:20:51 +01:00
Abhijit Saha cb3a2eea94 Merge 2015-12-07 13:11:40 -08:00
Ivan Gerasimov a6824485ec 8068761: [TEST_BUG] java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failed with SocketTimeoutException
Reviewed-by: rriggs
2015-11-30 16:28:18 +03:00
Ivan Gerasimov c739bb7e2c 8133207: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115
Do not run in othervm mode.

Reviewed-by: darcy, rriggs
2015-11-25 17:18:04 +03:00
Ivan Gerasimov 844ab8ff16 8137230: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out
Reviewed-by: rriggs
2015-10-09 20:12:07 +03:00
Ivan Gerasimov 7121883d05 8137121: (fc) Infinite loop FileChannel.truncate
Reviewed-by: alanb
2015-10-09 20:11:18 +03:00
Ivan Gerasimov b40fc6b3de 8080115: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads
Make GnomeFileTypeDetector.probeGio() synchronized and add a regression test based on the test source included in JDK-8080115.

Reviewed-by: chegar
2015-09-10 23:35:48 +03:00
Brian Burkhalter 0d001c51ad 8133647: (ch) Test java/nio/channels/AsynchronousSocketChannel/StressLoopback.java fails for Windows XP
Ignore WSAEINVAL returned by NET_EnableFastTcpLoopback().

Reviewed-by: coffeys, alanb
2015-09-03 11:57:27 -07:00
Brian Burkhalter fa969eac3e 8071599: (so) Socket adapter sendUrgentData throws IllegalBlockingMode when channel configured non-blocking
Remove restriction to blocking case

Reviewed-by: alanb, chegar
2015-02-27 14:36:03 -08:00
Sean Coffey 2cc0143695 8071447: IBM1166 Locale Request for Kazakh characters
Reviewed-by: sherman
2015-02-26 10:00:01 +00:00
Alan Bateman 991284632f 8029516: (fs) WatchKey cancel unreliable on Windows
Reviewed-by: chegar
2014-09-05 12:18:31 +01:00
Ivan Gerasimov 2fea04bd2e 6857566: (bf) DirectByteBuffer garbage creation can outpace reclamation
Help ReferenceHandler thread process References while attempting to allocate direct memory

Reviewed-by: alanb
2015-08-20 02:53:54 +03:00
Sean Coffey 3fad842762 8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
2015-01-08 15:10:13 +00:00
Kirk Shoop b1ad95c064 8064407: (fc) FileChannel transferTo should use TransmitFile on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-12-16 15:38:29 +00:00
Kirk Shoop 4f61788a9f 8060170: Support SIO_LOOPBACK_FAST_PATH option on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-10-19 11:52:53 +01:00
Ivan Gerasimov 0f96871fa2 8042470: (fs) Path.register doesn't throw IllegalArgumentException if multiple OVERFLOW events are specified
Reviewed-by: alanb, chegar
2014-05-07 16:50:40 +04:00
Ivan Gerasimov 5ab5f73118 8011537: (fs) Path.register(..) clears interrupt status of thread with no InterruptedException
Reviewed-by: alanb
2014-05-07 09:43:40 +04:00
Ivan Gerasimov f1966dc595 8054029: (fc) FileChannel.size() returns 0 for block devices on Linux
Reviewed-by: alanb
2014-11-07 01:51:06 +03:00
Alan Bateman a134a4d15d 8037945: Paths.get("").normalize() throws ArrayIndexOutOfBoundsException
Reviewed-by: chegar
2014-03-24 15:09:47 +00: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
Vladimir Kozlov 1194c8dabb Merge 2014-02-25 15:10:27 -08: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
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
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
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
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
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
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 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
Alan Bateman 68b9f08d49 8019526: (fs) Files.lines, etc without Charset parameter
Reviewed-by: psandoz, henryjen
2013-10-11 20:47:15 +01:00
Lana Steuck 5db317fd23 Merge 2013-10-10 13:33:02 -07: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
David Katleman b4c28b3b28 Merge 2013-10-01 12:45:47 -07: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
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
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
Brian Goetz 7bc062de1d 8017513: Support for closeable streams
8022237: j.u.s.BaseStream.onClose() has an issue in implementation or requires spec clarification
8022572: Same exception instances thrown from j.u.stream.Stream.onClose() handlers are not listed as suppressed

BaseStream implements AutoCloseable; Remove CloseableStream and DelegatingStream

Reviewed-by: alanb, mduigou, psandoz
2013-09-03 12:16:01 -07: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
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
Ivan Gerasimov ebe38d6cdc 8020669: (fs) Files.readAllBytes() does not read any data when Files.size() is 0
Reviewed-by: alanb, chegar, martin, rriggs
2013-07-29 12:35:42 +04:00
Henry Jen 411df5ec90 8009736: Comparator API cleanup
Reviewed-by: psandoz, briangoetz, mduigou, plevart
2013-06-11 13:41:38 -07:00
Alan Bateman a7f93a5480 8014377: (dc) DatagramChannel should set IP_MULTICAST_ALL=0 (lnx)
Reviewed-by: chegar, jzavgren
2013-06-20 19:14:30 +01:00
Alan Bateman 049fc8b7b0 8003895: java/nio/channels/AsynchronousChannelGroup/Unbounded.java failing again [win64]
Reviewed-by: chegar
2013-06-05 11:12:31 +01:00
Henry Jen dafa777413 8014855: TEST_BUG: java/nio/file/Files/StreamTest.java fails when sym links not supported
Reviewed-by: alanb
2013-06-04 15:18:39 +01:00
Alan Bateman f3d7029319 8014854: (bf) CharBuffer.chars too slow with default implementation
Reviewed-by: erikj, briangoetz, henryjen, psandoz, mduigou
2013-05-31 12:17:30 +01:00