Maurizio Cimadamore
81f128b903
8287154: java/nio/channels/FileChannel/LargeMapTest.java does not compile
...
Reviewed-by: alanb, jvernee
2022-05-23 10:19:12 +00:00
Brian Burkhalter
d8b0b32f9f
8286763: [REDO] (fc) Tune FileChannel.transferFrom()
...
Reviewed-by: alanb
2022-05-18 15:55:21 +00:00
Brian Burkhalter
e934a2c752
8286637: (fc) Memory mapped regions bigger than 2GB do not work correctly on Windows
...
Reviewed-by: uschindler, mcimadamore, jvernee, alanb
2022-05-18 14:49:44 +00:00
Brian Burkhalter
369611ea34
8286677: [BACKOUT] (fc) Tune FileChannel.transferFrom()
...
Reviewed-by: dholmes, mikael
2022-05-12 22:37:42 +00:00
Brian Burkhalter
986d87dcc0
8274113: (fc) Tune FileChannel.transferFrom()
...
Reviewed-by: alanb
2022-05-12 18:49:58 +00:00
Maurizio Cimadamore
2c5d136260
8282191: Implementation of Foreign Function & Memory API (Preview)
...
Reviewed-by: erikj, jvernee, psandoz, dholmes, mchung
2022-05-12 16:17:45 +00:00
Aleksey Shipilev
73c5e993e1
8286473: Drop --enable-preview from Record related tests
...
Reviewed-by: alanb, jpai, mchung
2022-05-11 08:52:11 +00:00
Alan Bateman
9583e3657e
8284161: Implementation of Virtual Threads (Preview)
...
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Brian Burkhalter
17cc7131ab
8274112: (fc) Tune FileChannel.transferTo()
...
Reviewed-by: alanb, lancea, rriggs
2022-05-04 14:33:16 +00:00
Jaikiran Pai
269eae6189
8285515: (dc) DatagramChannel.disconnect fails with "Invalid argument" on macOS 12.4 beta2
...
Reviewed-by: dfuchs, alanb
2022-04-29 09:15:56 +00:00
Andrey Turbanov
48c7549806
8284853: Fix various 'expected' typo
...
Reviewed-by: bpb, ihse
2022-04-14 18:05:49 +00:00
Lance Andersen
90750decb4
8272477: Additional cleanup of test/jdk/java/nio/file/spi/SetDefaultProvider.java
...
Reviewed-by: bpb
2022-03-24 18:35:13 +00:00
Andrey Turbanov
f9137cb7b7
8280896: java/nio/file/Files/probeContentType/Basic.java fails on Windows 11
...
Reviewed-by: jpai, bpb
2022-03-23 19:27:56 +00:00
Claes Redestad
002e366744
8283325: US_ASCII decoder relies on String.decodeASCII being exhaustive
...
Reviewed-by: rriggs, dcubed
2022-03-17 21:15:36 +00:00
Brian Burkhalter
fdce97df5f
8267820: (fs) Files.copy should attempt to copy POSIX attributes when target file in custom file system
...
Reviewed-by: lancea, alanb
2022-03-10 17:36:51 +00:00
Matteo Baccan
ccad39237a
8282657: Code cleanup: removing double semicolons at the end of lines
...
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Brian Burkhalter
6445ee46b5
5041655: (ch) FileLock: negative param and overflow issues
...
Reviewed-by: alanb
2022-02-22 17:24:15 +00:00
Alan Bateman
2dbb936da9
8279339: (ch) Input/Output streams returned by Channels factory methods don't support concurrent read/write ops
...
Reviewed-by: lancea, bpb
2022-01-06 08:12:53 +00:00
Brian Burkhalter
2478158815
8277361: java/nio/channels/Channels/ReadXBytes.java fails with OOM error
...
Reviewed-by: alanb, lancea
2021-12-08 17:11:14 +00:00
Matthias Baesken
fd8cb2dae8
8278346: java/nio/file/Files/probeContentType/Basic.java fails on Linux SLES15 machine
...
Reviewed-by: shade
2021-12-08 14:03:56 +00:00
Maxim Kartashev
7217cb7878
8274883: (se) Selector.open throws IAE when the default file system provider is changed to a custom provider
...
Reviewed-by: alanb, michaelm
2021-12-07 16:59:34 +00:00
Brian Burkhalter
7ea4b19f54
8278166: java/nio/channels/Channels/TransferTo.java timed out
...
Reviewed-by: lancea, alanb
2021-12-07 16:47:24 +00:00
Markus Karg
9642629d15
8276779: (ch) InputStream returned by Channels.newInputStream should have fast path for SelectableChannels
...
Reviewed-by: lancea, alanb
2021-12-04 09:27:23 +00:00
Brian Burkhalter
0d938cedca
8278172: java/nio/channels/FileChannel/BlockDeviceSize.java should only run on Linux
...
Reviewed-by: lancea, alanb
2021-12-03 16:00:27 +00:00
Brian Burkhalter
15345e3edc
8276661: (fs) UserDefinedFileAttributeView no longer works with long path (win)
...
Reviewed-by: alanb
2021-12-02 20:53:13 +00:00
Alex Kasko
b6876649a8
8277159: Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points
...
Reviewed-by: bpb, shade
2021-11-17 17:48:07 +00:00
Lance Andersen
b0d7a9daa6
8276994: java/nio/channels/Channels/TransferTo.java leaves multi-GB files in /tmp
...
Reviewed-by: alanb
2021-11-11 19:09:17 +00:00
Alan Bateman
8aae88b0fc
8276763: java/nio/channels/SocketChannel/AdaptorStreams.java fails with "SocketTimeoutException: Read timed out"
...
Reviewed-by: dfuchs
2021-11-11 19:07:09 +00:00
Aleksey Shipilev
0f463a7bf7
8276845: (fs) java/nio/file/spi/SetDefaultProvider.java fails on x86_32
...
Reviewed-by: alanb
2021-11-10 09:50:27 +00:00
Brian Burkhalter
dde959dfce
8276808: java/nio/channels/Channels/TransferTo.java timed out
...
Reviewed-by: lancea, shade
2021-11-09 19:17:59 +00:00
Brian Burkhalter
b01f1073f9
8276252: java/nio/channels/Channels/TransferTo.java failed with OOM java heap space error
...
Reviewed-by: lancea
2021-11-05 17:25:06 +00:00
Patrick Concannon
d95299a4d7
8276634: Remove usePlainDatagramSocketImpl
option from the test DatagramChannel/SendReceiveMaxSize.java
...
Reviewed-by: dfuchs, alanb, vtewari
2021-11-05 10:39:37 +00:00
Brian Burkhalter
7bb2173383
8276199: java/nio/channels/FileChannel/LargeGatheringWrite.java fails to terminate correctly
...
Reviewed-by: alanb
2021-11-04 16:33:08 +00:00
Brian Burkhalter
684edbb4c8
8273922: (fs) UserDefinedFileAttributeView doesn't handle file names that are just under the MAX_PATH limit (win)
...
Reviewed-by: alanb
2021-11-03 16:55:23 +00:00
Markus Karg
6a04899ba1
8275840: Add test to java/nio/channels/Channels/TransferTo.java to test transfer sizes > 2GB
...
Reviewed-by: lancea
2021-11-02 18:06:14 +00:00
Naoto Sato
168081efc8
8270490: Charset.forName() taking fallback default value
...
Reviewed-by: joehw, rriggs, serb, dfuchs
2021-10-27 12:39:46 +00:00
Markus Karg
913f9281ad
8273507: Convert test/jdk/java/nio/channels/Channels/TransferTo.java to TestNG test
...
Reviewed-by: shade, bpb
2021-10-20 18:30:52 +00:00
Brian Burkhalter
7fc3a8d052
8275149: (ch) ReadableByteChannel returned by Channels.newChannel(InputStream) throws ReadOnlyBufferException
...
Reviewed-by: alanb
2021-10-15 22:58:21 +00:00
Jie Fu
9623d5bb46
8275265: java/nio/channels tests needing large heap sizes fail on x86_32
...
Reviewed-by: alanb, bpb
2021-10-14 23:12:56 +00:00
Brian Burkhalter
07b1f1c282
8274548: (fc) FileChannel gathering write fails with IOException "Invalid argument" on macOS 11.6
...
Reviewed-by: alanb
2021-10-12 15:25:53 +00:00
Florian Weimer
5762ec2587
8274780: ChannelInputStream.readNBytes(int) incorrectly calls readAllBytes()
...
Reviewed-by: alanb, bpb
2021-10-07 07:02:01 +00:00
Brian Burkhalter
0786d8b7b3
8268435: (ch) ChannelInputStream could override readAllBytes
...
Reviewed-by: alanb, lancea
2021-10-01 20:15:44 +00:00
Jaikiran Pai
633eab23f0
8174819: java/nio/file/WatchService/LotsOfEvents.java fails intermittently
...
Reviewed-by: alanb
2021-09-28 04:54:58 +00:00
Julia Boes
bb74ae87ab
8274171: java/nio/file/Files/probeContentType/Basic.java failed on "Content type" mismatches
...
Reviewed-by: rriggs, bpb
2021-09-24 08:08:27 +00:00
Brian Burkhalter
1fdc656084
8274175: (fc) java/nio/channels/FileChannel/Transfer2GPlus.java still failed in timeout
...
Reviewed-by: alanb
2021-09-23 15:57:12 +00:00
Brian Burkhalter
81d416477f
8272759: (fc) java/nio/channels/FileChannel/Transfer2GPlus.java failed in timeout
...
Reviewed-by: alanb
2021-09-22 16:29:04 +00:00
Julia Boes
65ed0a742e
8273655: content-types.properties files are missing some common types
...
Reviewed-by: bpb, dfuchs
2021-09-21 08:07:25 +00:00
Markus Karg
185557423d
8273038: ChannelInputStream.transferTo() uses FileChannel.transferTo(FileChannel)
...
Reviewed-by: alanb
2021-09-08 11:22:47 +00:00
Mark Sheppard
d6d6c0692b
8273246: Amend the test java/nio/channels/DatagramChannel/ManySourcesAndTargets.java to execute in othervm mode
...
Reviewed-by: alanb
2021-09-07 22:18:23 +00:00
Naoto Sato
7fc8540907
8260265: UTF-8 by Default
...
Reviewed-by: alanb, rriggs
2021-08-30 21:13:59 +00:00
Brian Burkhalter
dfeb4132e4
8272964: java/nio/file/Files/InterruptCopy.java fails with java.lang.RuntimeException: Copy was not interrupted
...
Reviewed-by: dfuchs
2021-08-27 16:08:29 +00:00
Brian Burkhalter
aaedac635a
8265261: java/nio/file/Files/InterruptCopy.java fails with java.lang.RuntimeException: Copy was not interrupted
...
Reviewed-by: dfuchs
2021-08-24 17:04:35 +00:00
Lance Andersen
717792c3b7
8263940: NPE when creating default file system when default file system provider is packaged as JAR file on class path
...
Reviewed-by: naoto, bpb, iris, joehw
2021-08-13 16:11:04 +00:00
Brian Burkhalter
428d51694f
8140241: (fc) Data transfer from FileChannel to itself causes hang in case of overlap
...
Reviewed-by: alanb
2021-08-12 15:27:09 +00:00
Brian Burkhalter
b53828b7c2
8272047: java/nio/channels/FileChannel/Transfer2GPlus.java failed with Unexpected transfer size: 2147418112
...
Reviewed-by: naoto, alanb
2021-08-09 16:50:50 +00:00
Brian Burkhalter
e2c5bfe083
8271308: (fc) FileChannel.transferTo() transfers no more than Integer.MAX_VALUE bytes in one call
...
Reviewed-by: alanb, vtewari
2021-08-05 16:10:04 +00:00
Jesper Wilhelmsson
6b123b0591
Merge
2021-07-13 10:50:18 +00:00
Sean Mullan
4fc3180f75
8266345: (fs) Custom DefaultFileSystemProvider security related loops
...
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Reviewed-by: bpb, chegar
2021-07-12 14:54:38 +00:00
Aleksey Shipilev
3a8f3d6cac
8269280: (bf) Replace StringBuffer in *Buffer.toString()
...
Reviewed-by: alanb, chegar, bpb
2021-06-25 08:08:10 +00:00
Weijun Wang
640a2afda3
8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
...
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Alan Bateman
be4f25b0c8
8266369: (se) Add wepoll based Selector
...
Reviewed-by: chegar, michaelm, vtewari, dfuchs, bpb
2021-05-08 07:14:36 +00:00
Brian Burkhalter
d1b28e7ad0
8265231: (fc) ReadDirect and WriteDirect tests fail after fix for JDK-8264821
...
Reviewed-by: alanb, dcubed, darcy, chegar
2021-04-14 19:53:19 +00:00
Brian Burkhalter
7e4cd48020
8264821: DirectIOTest fails on a system with large block size
...
Reviewed-by: chegar
2021-04-14 15:33:48 +00:00
Conor Cleary
784f1c1f74
8264200: java/nio/channels/DatagramChannel/SRTest.java fails intermittently
...
Reviewed-by: dfuchs, rriggs, msheppar
2021-04-13 14:06:10 +00:00
Brian Burkhalter
cc54de76ca
8264400: (fs) WindowsFileStore equality depends on how the FileStore was constructed
...
Reviewed-by: alanb
2021-04-09 15:41:52 +00:00
Brian Burkhalter
3991b329b1
8264539: Improve failure message of java/nio/file/WatchService/SensitivityModifier.java
...
Reviewed-by: alanb
2021-04-02 19:53:18 +00:00
Brian Burkhalter
353807c5f1
8263898: (fs) Files.newOutputStream on the "NUL" special device throws FileSystemException: "nul: Incorrect function" (win)
...
Reviewed-by: jpai, alanb
2021-03-30 18:18:37 +00:00
Brian Burkhalter
b006f22f1f
4833719: (bf) Views of MappedByteBuffers are not MappedByteBuffers, and cannot be forced
...
Reviewed-by: adinn
2021-03-25 15:30:50 +00:00
Brian Burkhalter
46d78f0d24
6539707: (fc) MappedByteBuffer.force() method throws an IOException in a very simple test
...
Reviewed-by: alanb
2021-03-15 17:24:24 +00:00
Michael McMahon
9ffabf30c3
8252971: WindowsFileAttributes does not know about Unix domain sockets
...
Reviewed-by: alanb
2021-02-12 13:08:08 +00:00
Conor Cleary
707bce080d
8257212: (bf spec) Clarify byte order of the buffer returned by CharBuffer.subsequence(int,int)
...
Reviewed-by: chegar, bpb, alanb
2021-01-15 14:06:38 +00:00
Jesper Wilhelmsson
555641ede5
Merge
2021-01-07 21:17:35 +00:00
Chris Hegarty
73f5415363
8258955: (bf) slice(int, int) on view buffers fails to adjust index according to primitive size
...
Reviewed-by: alanb
2021-01-02 19:29:50 +00:00
Brent Christian
b2f035549a
8253497: Core Libs Terminology Refresh
...
Reviewed-by: naoto, kcr, rriggs, joehw, bpb, smarks, alanb
2020-12-16 23:09:20 +00:00
Michael McMahon
b35401d6a7
8257966: Instrument test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/StateTestService.java
...
Reviewed-by: alanb, dfuchs
2020-12-10 16:02:25 +00:00
Michael McMahon
6948456dbf
8256461: AbstractFileSystemProvider.getSunPathForSocketCall for empty Path returns '.'
...
Reviewed-by: dfuchs, alanb
2020-11-18 08:43:51 +00:00
Daniel Fuchs
9dbbe83a06
8256146
: Cleanup test/jdk/java/nio/channels/DatagramChannel/Connect.java
...
Reviewed-by: alanb
2020-11-17 12:21:11 +00:00
Michael McMahon
9d0ee66f2d
8255758: JEP 380 spec clarifications
...
Reviewed-by: dfuchs, alanb
2020-11-17 12:12:08 +00:00
Brian Burkhalter
a50fdd5484
8219014: (bf) Add absolute bulk put methods which accept a source Buffer
...
Reviewed-by: psandoz, alanb
2020-11-05 16:27:49 +00:00
Brian Burkhalter
450452bb8c
8254876: (fs) NullPointerException not thrown when first argument to Path.of or Paths.get is null
...
Reviewed-by: rriggs, alanb
2020-11-03 19:39:28 +00:00
Christian Stein
f61ce32770
8255576: (fs) Files.isHidden() throws ArrayIndexOutOfBoundsException (unix)
...
Reviewed-by: alanb
2020-11-01 12:39:43 +00:00
Conor Cleary
d5138d1fce
8255604: java/nio/channels/DatagramChannel/Connect.java fails with java.net.BindException: Cannot assign requested address: connect
...
Reviewed-by: dfuchs, michaelm
2020-10-29 19:08:06 +00:00
Conor Cleary
ea26ff1142
8247614: java/nio/channels/DatagramChannel/Connect.java timed out
...
Reviewed-by: dfuchs, alanb
2020-10-29 09:57:09 +00:00
Michael McMahon
6bb7e45e8e
8245194: Unix domain socket channel implementation
...
Reviewed-by: erikj, dfuchs, alanb, chegar
2020-10-28 17:26:26 +00:00
Fernando Guallini
f813a28b95
8254692: (se) Clarify the behaviour of the non-abstract SelectorProvider::inheritedChannel
...
Reviewed-by: chegar, bpb, alanb
2020-10-21 14:54:19 +00:00
Nhat Nguyen
8c0d3d754b
8254195: java/nio/file/Files/SubstDrive.java failed with "AssertionError: expected [144951656448] but found [144951640064]"
...
Reviewed-by: alanb, bpb
2020-10-08 18:05:23 +00:00
Nhat Nguyen
abe2593772
8232092: (fs) Files::isWritable returns false on a writeable root directory (win)
...
Reviewed-by: alanb
2020-10-07 19:45:20 +00:00
Naoto Sato
a34f48bcf5
8253832: CharsetDecoder : decode() mentioning CoderMalfunctionError behavior not as per spec
...
Reviewed-by: alanb
2020-10-06 12:35:52 +00:00
Rahul Yadav
d8355e0281
8249773: Upgrade ReceiveISA.java test to be resilient to failure due to stray packets and interference
...
This fix upgrades java/nio/channels/DatagramChannel/ReceiveISA.java so it can handle interference from stray packets.
Reviewed-by: alanb, dfuchs
2020-08-13 17:48:15 +01:00
Patrick Concannon
a096c0a83f
8240901: Add a test to check that large datagrams are sent/received on the network correctly
...
This fix updates `java/net/DatagramSocket/SendReceiveMaxSize.java` and `java/net/DatagramSocket/SendReceiveMaxSize.java` to check (on all platforms) that the sending/receiving of large datagrams across a network are sent, fragmented, and re-assembled correctly
Reviewed-by: alanb, dfuchs
2020-08-13 15:40:13 +01:00
Conor Cleary
831f23ee86
8246707: (sc) SocketChannel.read/write throws AsynchronousCloseException on closed channel
...
This fix addresses an issue where an AsynchronousCloseException was being thrown instead of a ChannelClosedException when SocketChannel.write() is called on a closed SocketChannel.
Reviewed-by: alanb, chegar, dfuchs
2020-08-12 12:32:54 +01:00
Patrick Concannon
7fd5cb6117
8242885: PlainDatagramSocketImpl doesn’t allow for the sending of IPv6 datagrams on macOS with sizes between 65508-65527 bytes
...
This fix changes the current max size for IPv6 datagrams on macOS from it's current size of 65507, which is the IPv4 limit, to 65527, the actual limit for IPv6 on macOS
Reviewed-by: alanb, dfuchs, vtewari
2020-07-31 12:42:32 +01:00
Patrick Concannon
2dda9965cd
8246164: SendDatagramToBadAddress.java and ChangingAddress.java should be changed to explicitly require the new DatagramSocket implementation
...
This fix updates these tests to explicitly run with `-Djdk.net.usePlainDatagramSocketImpl=false` to avoid false failures when running all tests with a global jtreg -Djdk.net.usePlainDatagramSocketImpl switch.
Reviewed-by: vtewari
2020-07-31 12:12:49 +01:00
Mikael Vidstedt
ec074011a4
Merge
2020-07-19 21:34:28 -07:00
Roman Kennke
546158fb42
8249543: Force DirectBufferAllocTest to run with -ExplicitGCInvokesConcurrent
...
Reviewed-by: alanb
2020-07-16 15:04:58 +02:00
Erik Joelsson
d8219d0a78
8213214: Set -Djava.io.tmpdir= when running tests
...
Reviewed-by: alanb, mikael
2020-06-23 06:51:35 -07:00
Jie Fu
fd7123b268
8247463: java/nio/channels/etc/OpenAndConnect.java fails due to IPv6 not available
...
Reviewed-by: dfuchs, alanb
2020-06-13 14:29:08 +08:00
Brian Burkhalter
1786701011
8246729: MappedByteBuffer.force() throws IndexOutOfBoundsException
...
Reviewed-by: psandoz, alanb
2020-06-08 13:15:59 -07:00
Brian Burkhalter
9cadf1a004
8246282: [REDO] JDK-8245121 (bf) XBuffer.put(Xbuffer src) can give unexpected result when storage overlaps
...
Reviewed-by: psandoz, alanb
2020-06-04 11:39:39 -07:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Vladimir A Ivanov
93fcbec20a
8243099: SO_INCOMING_NAPI_ID support
...
Add support for the SO_INCOMING_NAPI_ID socket option to jdk.net.ExtendedSocketOptions
Co-authored-by: Dinesh Kumar <dinesh.kumar@intel.com>
Reviewed-by: alanb, chegar, dfuchs, vtewari, pconcannon
2020-05-20 15:12:28 -07:00
Michael McMahon
0f7aeed416
8241305: Add protocol specific factory creation methods to SocketChannel and ServerSocketChannel
...
Reviewed-by: alanb, chegar, dfuchs
2020-05-17 21:15:33 +01:00
Stefan Karlsson
81597d9f8f
8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
...
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Ichiroh Takiguchi
318fab950a
8242541: Small charset issues (ISO8859-16, x-eucJP-Open, x-IBM834 and x-IBM949C)
...
Modify ISO8859-16, x-eucJP-Open, x-IBM834 and x-IBM949C charset related files
Reviewed-by: naoto
2020-05-01 21:43:28 +09:00
Brian Burkhalter
447d6499f1
8242292: (fs) FileSystems.getFileSystem(URI) should throw IAE if the URI scheme is null
...
Reviewed-by: lancea, alanb
2020-04-13 10:16:38 -07:00
Patrick Concannon
378aef32ab
8240533: Inconsistent Exceptions are thrown by DatagramSocket and DatagramChannel when sending a DatagramPacket to port 0
...
Fix adds checks for port == 0 to the send and connect methods in DatagramSocket and DatagramChannelImpl
Reviewed-by: alanb, chegar, dfuchs, lancea
2020-04-07 16:21:01 +01:00
Daniel Fuchs
f541970b31
8241786: Improve heuristic to determine default network interface on macOS
...
DefaultInetrface.getDefault is updated to prefer interfaces that have non link-local addresses. NetworkConfiguration is updated to skip interface that have only link-local addresses, whether IPv4 or IPv6, for multicasting.
Reviewed-by: chegar, alanb
2020-04-03 14:27:03 +01:00
Daniel Fuchs
5ddbcb7a51
8241336: Some java.net tests failed with NoRouteToHostException on MacOS with special network configuration
...
NetworkConfiguration updated to skip interfaces that have only IPv6 link local addresses.
Reviewed-by: alanb, chegar
2020-03-27 12:42:03 +00:00
Patrick Concannon
0ed44d0aee
8239355: (dc) Initial value of SO_SNDBUF should allow sending large datagrams (macOS)
...
Updates DatagramChannel so that the SO_SNDBUF is set to a minimum value of 65527 for IPv6 sockets and 65507 for IPv4 sockets on macOS.
Reviewed-by: alanb, dfuchs
2020-03-12 17:08:09 +00:00
Lin Zang
732a575738
8239139: test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/libInheritedChannel.c does not compile with gcc 8.3.1
...
Reviewed-by: michaelm
2020-02-19 11:31:48 +00:00
Alan Bateman
c23d1de2f8
8238376: test/jdk/java/nio/channels/DatagramChannel/Loopback.java failing on multi-homed systems
...
Reviewed-by: dfuchs
2020-02-10 12:57:31 +00:00
Jesper Wilhelmsson
89e9ae9b3c
Merge
2020-02-05 03:24:41 +01:00
Brian Burkhalter
7db8a1762f
8237514: Spec Clarification - ByteBuffer::alignmentOffset Spec
...
Reviewed-by: alanb, psandoz
2020-01-31 08:04:11 -08:00
Brian Burkhalter
f4f7dbd54c
8225471: Test utility jdk.test.lib.util.FileUtils.areAllMountPointsAccessible needs to tolerate duplicates
...
Reviewed-by: alanb
2020-01-23 10:19:32 -08:00
Jesper Wilhelmsson
c6c828fa6e
Merge
2020-01-23 22:59:49 +01:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Alan Bateman
d4c3278889
8236925: (dc) Upgrade DatagramChannel socket adaptor to extend MulticastSocket
...
Reviewed-by: dfuchs
2020-01-19 08:02:46 +00:00
Alan Bateman
6ef474a4f4
8053479: (dc) DatagramChannel.read() throws exception instead of discarding data when buffer too small
...
Reviewed-by: redestad, dfuchs
2020-01-18 19:11:28 +00:00
Brian Burkhalter
a91ec31636
8237183: Bug ID missing for test in patch which fixed JDK-8230665
...
Reviewed-by: lancea
2020-01-14 17:28:54 -08:00
Brian Burkhalter
03cd98e15b
8230665: (bf spec) ByteBuffer::alignmentOffset spec misleading when address is misaligned
...
Reviewed-by: alanb, darcy, psandoz
2020-01-14 11:06:00 -08:00
Brian Burkhalter
d8e3d8af7b
8236804: java/nio/channels/FileChannel/MapWithSecurityManager.java should be run in othervm mode
...
Reviewed-by: chegar, lancea
2020-01-09 08:31:41 -08:00
Brian Burkhalter
7cd4d9ac6a
8236582: (fc) FileChannel.map fails with InternalError when security manager enabled
...
Reviewed-by: alanb
2020-01-09 08:31:29 -08:00
Michael McMahon
b96610d017
8235475: Add additional timestamp to test java/nio/channels/Selector/SelectWithConsumer.java
...
Reviewed-by: alanb
2019-12-06 14:17:25 +00:00
Jesper Wilhelmsson
51d5164ca2
Merge
2020-01-16 04:09:50 +01:00
Jesper Wilhelmsson
d34f561de0
Merge
2020-01-15 20:41:46 +01:00
Daniel Fuchs
bf16838a8b
8208281: java/nio/channels/AsynchronousSocketChannel/Basic.java timed out
...
Modify the test to accept the peer socket before closing the client socket
Reviewed-by: alanb
2020-01-14 11:45:29 +00:00
Brian Burkhalter
d6a5897f41
8236804: java/nio/channels/FileChannel/MapWithSecurityManager.java should be run in othervm mode
...
Reviewed-by: chegar, lancea
2020-01-08 11:38:08 -08:00
Brian Burkhalter
31b9bbd87b
8236582: (fc) FileChannel.map fails with InternalError when security manager enabled
...
Reviewed-by: alanb
2020-01-08 08:35:33 -08:00
Chris Yin
6da7ea6ea3
8236595: Add more comments about how to setup simulated NVRAM before run java/nio/MappedByteBuffer/PmemTest.java
...
Reviewed-by: alanb, adinn
2020-01-06 11:29:38 +08:00
Alan Bateman
c6a4cea7a0
8236246: SelectorProvider support for creating a DatagramChannel that is not interruptible
...
Reviewed-by: chegar
2019-12-20 09:28:57 +00:00
Gustavo Romero
1691abc747
8234599: PPC64: Add support on recent CPUs and Linux for JEP-352
...
Reviewed-by: mbaesken, mdoerr, adinn
2019-11-21 17:10:26 -03:00
Alan Bateman
e7d68cd13b
8235193: (dc) Remove JNI overhead from DatagramChannel.send implementation
...
Reviewed-by: chegar
2019-12-04 16:37:00 +00:00
Michael McMahon
7afaaf1229
8234824: java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
...
Reviewed-by: alanb
2019-12-03 11:57:10 +00:00
Alan Bateman
f3e90595aa
8234805: (dc) Remove JNI upcall from DatagramChannel.receive implementation
...
Reviewed-by: dfuchs, chegar
2019-11-30 16:21:19 +00:00
Daniel Fuchs
d6f414a1f7
8223196: java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java fails on Solaris SPARC
...
The test is fixed to use InetAddress.getLocalHost consistently, instead of a mix of getLocalHost/wildcard addresses.
Reviewed-by: chegar, vtewari
2019-11-28 12:28:48 +00:00
Alan Bateman
7e42642939
8231259: (dc) DatagramChannel::disconnect re-binds socket to the wildcard address (macOS)
...
Reviewed-by: dfuchs, chegar
2019-11-20 08:35:53 +00:00
Alan Bateman
27e0cdf12d
8236184: (dc) IP_MULTICAST_* and IP_TOS socket options not effective
...
Reviewed-by: dfuchs
2019-12-19 08:36:40 +00:00
Alan Bateman
090dc51a4e
8233435: (dc) DatagramChannel should allow IPv6 socket join IPv4 multicast groups (macOS, win)
...
Reviewed-by: dfuchs
2019-11-09 11:48:37 +00:00
Alex Kashchenko
690b960c8f
8216472: (se) Stack overflow during selection operation leads to crash (win)
...
Reviewed-by: alanb
2019-11-09 09:13:04 +00:00
Alan Bateman
b7dd1aff8b
8220479: java/nio/channels/Selector/SelectWithConsumer.java failed at testTwoChannels()
...
Reviewed-by: bpb
2019-11-08 08:12:04 -08:00
Brian Burkhalter
fc2a8abcc0
8232178: MacVolumesTest failed after upgrade to MacOS Catalina
...
Reviewed-by: lancea
2019-11-07 13:53:38 -08:00
Alan Bateman
db4909bf99
8232673: (dc) DatagramChannel socket adaptor issues
...
Reviewed-by: dfuchs, chegar
2019-11-02 10:02:18 +00:00
Alan Bateman
0290476112
8212132: (dc) Remove DatagramChannelImpl finalize method
...
Reviewed-by: bpb, chegar, dfuchs, martin
2019-10-27 12:13:51 +00:00
Daniel Fuchs
a690af3832
8231260: (dc) DatagramChannel::disconnect changes the port of the local address to 0 (lnx)
...
DatagramChannel::disconnect will attempt to rebind to the original port if the local port switches back to 0 after the association is disolved by the system.
Reviewed-by: alanb, chegar, fweimer
2019-10-09 17:38:58 +01:00
Brian Burkhalter
12178ec008
8231174: (fs) FileTime should have 100ns resolution (win)
...
Reviewed-by: alanb
2019-09-25 11:44:52 -07:00
Michael McMahon
b8bda05c60
8231450: Copyright header line omitted from 8231187 changeset
...
Reviewed-by: chegar
2019-09-25 09:38:20 +01:00
Michael McMahon
aa5329e0d3
8231187: SelectorProvider.inheritedChannel() returns TCP socket channel for Unix domain socket
...
Reviewed-by: alanb, chegar
2019-09-24 16:19:11 +01:00
Brian Burkhalter
d6b7266547
8231254: (fs) Add test for macOS Catalina changes to protect system software
...
Reviewed-by: alanb
2019-09-23 13:59:41 -07:00
Sergey Bylokhov
f8a875bfce
8231027: Correct typos
...
Reviewed-by: lancea, dholmes, erikj
2019-09-17 19:52:51 -07:00
Naoto Sato
28b972e5ce
8229960: Remove sun.nio.cs.map system property
...
Reviewed-by: alanb
2019-09-10 12:51:05 -07:00
Brian Burkhalter
d2db14b836
8229280: Test failures on several linux hosts after JDK-8181493
...
Reviewed-by: alanb, clanger, dfuchs
2019-09-05 14:12:01 -07:00
Andrew Dinn
047b8bfeb7
8224974: Implement JEP 352
...
Non-Volatile Mapped Byte Buffers
Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Brian Burkhalter
3155cd829b
8227609: (fs) Files.newInputStream(...).skip(n) should allow skipping beyond file size
...
Reviewed-by: alanb, lancea, fweimer
2019-07-30 09:46:06 -07:00
Brian Burkhalter
20ee82bf0a
8181493: (fs) Files.readAttributes(path, BasicFileAttributes.class) should preserve nano second time stamps
...
Reviewed-by: alanb, lancea
2019-07-29 08:48:52 -07:00
Brian Burkhalter
a8af569fa0
8184157: (ch) AsynchronousFileChannel hangs with internal error when reading locked file
...
Reviewed-by: alanb
2019-07-25 11:44:37 -07:00
Brian Burkhalter
c6c82dd736
8227080: (fs) Files.newInputStream(...).skip(n) is slow
...
Reviewed-by: sbordet, rriggs, fweimer
2019-07-03 14:37:19 -07:00
Brian Burkhalter
4833b4b3d5
8224480: (fc) java/nio/channels/FileChannel/MapTest.java fails intermittently
...
Reviewed-by: lancea, alanb
2019-07-02 08:32:33 -07:00
Brian Burkhalter
4d1ff6a295
8226706: (se) Reduce the number of outer loop iterations on Windows in java/nio/channels/Selector/RacyDeregister.java
...
Reviewed-by: alanb
2019-06-28 13:02:18 -07:00
Michael McMahon
247a6a2ce4
8216417: cleanup of IPv6 scope-id handling
...
Reviewed-by: alanb, chegar, dfuchs
2019-06-13 09:10:51 +01:00
Brian Burkhalter
185be26580
8224617: (fs) java/nio/file/FileStore/Basic.java found filesystem twice
...
Reviewed-by: alanb
2019-06-06 14:13:59 -07:00
Arthur Eubanks
df9ad2af75
8224645: Only test multicast interfaces if they exist
...
Reviewed-by: alanb, dfuchs, chegar
2019-05-23 10:06:37 -07:00
Arthur Eubanks
21d398288d
8224019: test/jdk/java/nio/channels/DatagramChannel/BasicMulticastTests.java assumes IPv4 is always available
...
Reviewed-by: chegar, dfuchs, alanb
2019-05-15 17:21:18 -07:00
Alan Bateman
a817ac3456
8223442: java/nio/channels/SocketChannel/AdaptorStreams.java testConcurrentTimedReadWrite3(): failure
...
Reviewed-by: michaelm
2019-05-16 17:06:53 +01:00
Andrew Dinn
2b55e4834e
8221696: MappedByteBuffer.force method to specify range
...
Overload MappedByteBuffer.force to accept index and length arguments
Reviewed-by: dfuchs, alanb, bpb
2019-04-25 17:27:37 +01:00
Arthur Eubanks
eff53ce5e9
8223652: Rename IPSupport.skipIfCurrentConfigurationIsInvalid() to IPSupport.throwSkippedExceptionIfNonOperational()
...
Reviewed-by: dfuchs, chegar
2019-05-09 10:28:29 -07:00
Arthur Eubanks
0bb6328356
8220673: Add test library support for determining platform IP support
...
Reviewed-by: dfuchs, chegar
2019-04-16 13:06:23 -07:00
Brian Burkhalter
2c35825433
8220793: (fs) No support for changing modification time of symlink
...
Reviewed-by: alanb, rriggs
2019-05-02 13:25:00 -07:00
Alan Bateman
2998236d83
8222774: (ch) Replace uses of stateLock and blockingLock with j.u.c. locks
...
Reviewed-by: dfuchs, bpb, martin
2019-04-25 10:41:49 +01:00
Brian Burkhalter
69ca2e9e27
8220477: Channels.newWriter() does not close if underlying channel throws an IOException
...
Reviewed-by: alanb
2019-04-17 08:12:19 -07:00
Aleksey Shipilev
7fd0bca8f7
8222410: java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile hangs when "nc" does not accept "-U"
...
Reviewed-by: alanb
2019-04-15 18:22:08 +02:00
Alan Bateman
3a4d5db248
8221252: (sc) SocketChannel and its socket adaptor need to handle connection reset
...
Reviewed-by: bpb
2019-03-22 11:35:35 +00:00
Arthur Eubanks
ef9ce3be1e
8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
...
Tests that hardcode "127.0.0.1" fail in an environment where only IPv6 is available and IPv4 is not.
Reviewed-by: chegar, dfuchs, michaelm
2019-02-27 13:34:40 -08:00
Brian Burkhalter
fad1f059b0
5071718: (bf) Add ByteBuffer.slice(int offset, int length)
...
Reviewed-by: alanb, bchristi, darcy, rriggs
2019-02-28 12:05:59 -08:00
Brian Burkhalter
315b7d0399
5029431: (bf) Add absolute bulk put and get methods
...
Reviewed-by: alanb, darcy, chegar, rriggs
2019-02-20 10:57:22 -08:00
Brian Burkhalter
f380787a41
8218460: Test generation scripts do not invoke stream preprocessor correctly
...
Reviewed-by: rriggs
2019-02-05 14:36:50 -08:00
Alan Bateman
779991a9c8
8217500: (sc) Move SocketChannelImpl's remaining native methods to Net
...
Reviewed-by: bpb
2019-01-23 13:16:16 +00:00
Jesper Wilhelmsson
bc920bd00d
Merge
2019-01-22 19:56:19 +01:00
Nick Gasson
c0de8f27a5
8217427: (dc) nio/channels/DatagramChannel/UseDGWithIPv6.java fails without IPv6
...
Reviewed-by: alanb, clanger
2019-01-22 10:25:22 +08:00
Alan Bateman
bb1e1c7120
8217451: ExtendedSocketOptions should encapsulate support for SO_FLOW_SLA
...
Reviewed-by: michaelm, chegar
2019-01-22 12:32:19 +00:00
Brian Burkhalter
5c5d27962a
8215467: Files.isHidden should return true for hidden directories on Windows
...
Reviewed-by: alanb, bchristi, darcy
2019-01-18 09:33:13 -08:00
David Holmes
f1ffd3aa54
8217017: [TESTBUG] Tests fail to compile after JDK-8216265
...
Reviewed-by: kvn
2019-01-14 20:56:15 -05:00
Goetz Lindenmaier
084f0b75bd
8216265: [testbug] Introduce Platform.sharedLibraryPathVariableName() and adapt all tests
...
Also cleanup some switches over OSes and use File.pathSeparator.
Reviewed-by: dholmes, mdoerr
2019-01-14 00:00:00 +01:00
Pavel Rappo
884c808e83
8215292: Back out changes for node- and link- local ipv6 multicast address
...
Reviewed-by: chegar, alanb
2018-12-14 19:49:03 +00:00
Jesper Wilhelmsson
f4f859b446
Merge
2018-12-19 20:53:30 +01:00
Lance Andersen
d1951aa97c
8215372: Incorrect nio/file/DirectoryStream/Basic.java tests for validating the use of a glob
...
Reviewed-by: alanb
2018-12-14 14:17:22 -05:00
Michael McMahon
4a77a08ca3
8211842: IPv6_supported wrongly returns false when unix domain socket is bound to fd 0
...
Reviewed-by: chegar, alanb
2018-11-30 10:29:58 +00:00
Brian Burkhalter
a6f0e10fe8
8213235: java/nio/channels/SocketChannel/AsyncCloseChannel.java fails with threads that didn't exit
...
Reviewed-by: alanb, dfuchs
2018-11-21 08:16:25 -08:00
Pavel Rappo
cea9c21479
8210493: Bind to node- or linklocal ipv6 multicast address fails
...
Reviewed-by: alanb, chegar
2018-11-12 12:55:36 +00:00
Amy Lu
836e02e1f1
8213576: Make test AsyncCloseChannel.java run in othervm
...
Reviewed-by: dholmes
2018-11-09 12:08:53 +08:00
Joe Wang
a567796533
8202285: (fs) Add a method to Files for comparing file contents
...
Reviewed-by: alanb, rriggs, smarks, bpb, dfuchs, weijun, igerasim
2018-11-08 09:50:54 -08:00
Brian Burkhalter
36ca4f5893
8213306: Fix legal headers in test/java/nio
...
Reviewed-by: chegar
2018-11-02 09:58:55 -07:00
Brian Burkhalter
4fe37df932
8212212: (bf) Incorrect path to stream preprocessor source in java.nio Buffer test scripts
...
Reviewed-by: alanb
2018-10-16 07:49:08 -07:00
Igor Ignatyev
ab8c7f710c
8211171: move JarUtils to top-level testlibrary
...
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
Igor Ignatyev
3521fc392e
8210779: 8182404 and 8210732 haven't updated copyright years
...
Reviewed-by: bchristi
2018-09-17 11:50:39 -07:00
Igor Ignatyev
8b28ad6efe
8210732: remove jdk.testlibrary.Utils
...
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Alan Bateman
73cda6e99e
8208780: (se) test SelectWithConsumer.testReadableAndWriteable(): failure
...
Reviewed-by: bpb
2018-09-14 16:56:09 +01:00
Igor Ignatyev
21a0458422
8210112: remove jdk.testlibrary.ProcessTools
...
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
Ivan Gerasimov
1c9dfca05b
8210285: CharsetDecoder/Encoder's constructor does not reject NaN
...
Reviewed-by: sherman, smarks, alanb, martin, darcy
2018-09-06 12:10:59 -07:00
Alan Bateman
f1202dc4dc
8209152: (so) ServerSocketChannel::supportedOptions includes IP_TOS
...
Reviewed-by: chegar
2018-09-05 11:52:08 +01:00
Hamlin Li
36f2d56823
8208280: java/nio/channels/Selector/RegisterDuringSelect.java fails with "key not removed from key set"
...
Reviewed-by: alanb
2018-08-31 10:00:22 +08:00