Commit Graph

352 Commits

Author SHA1 Message Date
Brian Burkhalter
5aa0f30214 8172547: (se) Selector.select(Long.MAX_VALUE) fires repeatedly
Clamp the jlong-valued select() timeout to INT_MAX for struct timeval

Reviewed-by: rriggs, clanger, alanb
2017-01-19 13:46:45 -08:00
Joe Darcy
ea8bb5ad41 8172200: Mark StressLoopback.java as intermittently failing
Reviewed-by: lancea, bpb, rriggs
2017-01-04 10:20:12 -08:00
Amy Lu
91d9ddb0b6 8171234: Remove intermittent key from test java/nio/charset/coders/BashStreams.java
Reviewed-by: alanb
2016-12-15 17:34:59 +08:00
Brian Burkhalter
d8e5d53723 8168628: (fc) SIGBUS when extending file size to map it
Synchronize file extension and subsequent map0(); on Linux use fallocate64() instead of ftruncate64().

Reviewed-by: rehn, simonis, alanb
2016-12-02 13:22:16 -08:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Hamlin Li
f1187fde71 8049316: java/nio/channels/Selector/Wakeup.java failing
Reviewed-by: rriggs, alanb
2016-11-30 18:25:07 -08:00
Hamlin Li
a7d4828bea 8169764: output more information when java/nio/channels/AsynchronousSocketChannel/Basic.java fails
Reviewed-by: alanb
2016-11-16 17:29:14 -08:00
Martin Buchholz
97ed09e075 8165643: SecureDirectoryStream doesn't work on linux non-x86
Reviewed-by: alanb
2016-09-07 14:44:59 -07:00
Brian Burkhalter
925586066c 8165000: Selector.select(timeout) throws IOException when timeout is a large long
Clamp the timeout passed to kevent0 to the largest value that does not provoke the error.

Reviewed-by: clanger, alanb
2016-09-02 12:38:27 -07:00
Christoph Langer
ea29d586dd 8164649: Cleanup of test java/nio/channels/FileChannel/Lock.java
Reviewed-by: alanb
2016-08-29 11:23:34 +02:00
Alan Bateman
97fca016ab 8066943: (fs) Path.relativize() gives incorrect result for ".."
Reviewed-by: prappo, bpb
2016-08-25 10:01:20 +01:00
Brian Burkhalter
34565b8ada 8163136: Add print statements to java/nio/file/WatchService/LotsOfCancels.java
Add some print statements.

Reviewed-by: alanb
2016-08-24 11:23:58 -07:00
Artem Smotrakov
8fe1b11fa9 8164166: Make sure java/nio/channels tests shutdown asynchronous channel groups
Reviewed-by: alanb
2016-08-24 10:58:29 -07:00
Brian Burkhalter
dc3e5ed9fb 8164556: Drop AAC and FLAC from content type check in java/nio/file/Files/probeContentType/Basic.java
Remove file extensions of AAC and FLAC audio encodings from the list of extensions verified.

Reviewed-by: alanb
2016-08-23 10:51:17 -07:00
Artem Smotrakov
4b68f37bfe 8164159: java/nio/file/WatchService/UpdateInterference.java test leaves daemon threads
Reviewed-by: alanb
2016-08-23 10:38:01 -07:00
Brian Burkhalter
13f73f71eb 8164432: java/nio/file/Files/probeContentType/Basic.java fails on windows for Content type: audio/vnd.dlna.adts
Add audio/vnd.dlna.adts as an allowed MIME type for the aac extension.

Reviewed-by: darcy
2016-08-19 13:38:12 -07:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Brian Burkhalter
911dda4ee1 8163305: Add some print instrumentation to java/nio/channels/Selector/RacyDeregister
Perform more iterations on Windows, and on all platforms if the test enters the failure branch, poll for an extra period of time to determine whether it might have succeeded with a longer timeout

Reviewed-by: chegar
2016-08-09 07:50:26 -07:00
Brian Burkhalter
ba0558addb 8163431: probeContentType/Basic.java fails after changes for JDK-8146215
Allow multiple legal MIME type interpretations for certain extensions.

Reviewed-by: chegar
2016-08-09 07:43:48 -07:00
Brian Burkhalter
97b666ee29 8162745: content-types.properties files are missing some modern types
Add some content types from HTML5 and Xiph.

Reviewed-by: rriggs, chegar
2016-08-08 13:58:14 -07:00
Brian Burkhalter
522e112b4a 8146215: (fs) java/nio/file/Files/probeContentType/Basic.java failed frequently on Solaris-sparc with Unexpected type: text/plain
Append a FileTypeDetector using java.net.FileNameMap as a fallback on all platforms

Reviewed-by: alanb, rriggs, naoto
2016-08-08 13:57:51 -07:00
Alejandro Murillo
83f8829c06 Merge 2016-08-05 09:50:29 -07:00
Brian Burkhalter
0af4f24e45 8162902: Add some debugging output to test/java/nio/file/WatchService/DeleteInterference
Add printing of iteration numbers

Reviewed-by: alanb
2016-08-04 14:29:27 -07:00
Alejandro Murillo
435f7046be Merge 2016-07-30 00:11:02 +00:00
Paul Sandoz
8dc58ab506 8162458: Buffer view implementations use incorrect offset for Unsafe access
Reviewed-by: alanb
2016-07-29 10:18:47 +02:00
Brian Burkhalter
82e9d18d0e 8162624: (fs) Remove FileTypeDetectors based on libgio and libmagic
Remove GioFileTypeDetector and MagicFileTypeDetector.

Reviewed-by: alanb
2016-07-27 14:27:46 -07:00
Brian Burkhalter
eba2a20a2b 8160220: (fs) Tests in jdk/test/java/nio/file/WatchService leave directory trees behind
Create temporary files by default in a scratch directory.

Reviewed-by: alanb, chegar
2016-07-15 17:49:42 -07:00
Brian Burkhalter
5d404c26b1 8160221: jdk/test/java/nio/channels/FileChannel/Transfers.java leaving files behind
Create temporary files in the test scratch directory instead of in the default temporary file directory.

Reviewed-by: alanb
2016-07-12 07:58:40 -07:00
Brian Burkhalter
465af0b962 8157287: java/nio/file/FileStore/Basic.java failed with "java.nio.file.AccessDeniedException : /zones/zoneone/root "
Ignore AccessDeniedException when testing space attributes.

Reviewed-by: alanb
2016-07-08 16:16:45 -07:00
Brian Burkhalter
70e069ea5d 8160687: (fs) Cannot tell which WatchService test is not deleting temp directories "work*"
Change name of "work" temp directory to "TestName"

Reviewed-by: rriggs
2016-07-01 12:54:18 -07:00
Alan Bateman
40abbd6d10 8140449: (fs) Paths.get("x").relativize("") return ..\ on Windows
Reviewed-by: chegar, rriggs
2016-06-17 17:17:21 +01:00
Alan Bateman
a5e1465831 8066258: Re-examine com.sun.nio.file to see if it should be a supported API
Reviewed-by: chegar
2016-05-30 17:38:05 +01:00
Chris Hegarty
4d950890f2 8155086: Replace usage of -Djdk.launcher.limitmods in tests with -limitmods
Reviewed-by: alanb
2016-05-24 09:18:40 +01:00
Pavel Rappo
baf59c0bd8 8150785: (bf) Hoist slice and duplicate methods up to java.nio.Buffer
Reviewed-by: alanb, rriggs, chegar
2016-05-16 15:10:04 +01:00
Pavel Rappo
976b541ac5 8156931: java.nio.Buffer tests cleanup
Reviewed-by: alanb
2016-05-16 09:54:01 +01:00
Hamlin Li
26ba99921f 8156002: java/nio/channels/SocketChannel/AdaptSocket.java Fails in Mesos on OSX
Reviewed-by: dfuchs
2016-05-10 15:12:04 +08:00
Amy Lu
6f57005359 8156512: Mark several tests from java/nio as intermittently failing
Reviewed-by: alanb
2016-05-09 18:06:57 +08:00
Mandy Chung
b58e171061 8155513: Deprivilege jdk.charsets
Reviewed-by: alanb, chegar
2016-05-05 22:39:36 -07:00
Alex Kashchenko
39846dcf8d 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
Chris Hegarty
07cef26155 8044773: Refactor jdk.net API so that it can be moved out of the base module
Reviewed-by: alanb, erikj, mchung
2016-04-27 20:36:02 +01:00
Hamlin Li
636213d1c9 8068693: (ch) test java/nio/channels/AsyncCloseAndInterrupt.java failing
8153209: java/nio/channels/AsyncCloseAndInterrupt.java fails throwing exception: java.nio.channels.ClosedChannelException

For JDK-8068693, 500ms is too short on busy system for channel to be closed or for thread blocking on IO to be interrupted, increase the time from 500ms to 10000ms. for JDK-8153209, it's a test regression due to JDK-8151582, do not sleep when running tests for CONNECT/FINISH_CONNECT, sleep for other test cases.

Reviewed-by: bpb, martin, rriggs
2016-04-12 13:53:48 +08:00
Amy Lu
2929c453fb 8153722: Mark java/nio/channels/Selector/SelectAndClose.java as intermittently failing
Reviewed-by: bpb, darcy
2016-04-11 12:27:48 +08:00
Huaming Li
f9295881a8 8037360: java/nio/channels/SocketChannel/Connect.java fails intermittently
Reviewed-by: alanb
2016-04-08 16:38:37 +01:00
Amy Lu
3c535e97da 8153563: java/nio/Buffer/Basic.java and CopyDirectMemory.java are failing after JDK-8149469
Reviewed-by: alanb
2016-04-06 16:36:12 +08:00
Alejandro Murillo
e380336101 Merge 2016-03-31 14:25:38 -07:00
Amy Lu
92104d1449 8152749: Mark AdaptorCloseAndInterrupt.java as intermittently failing
8152755: Problem list java/nio/file/WatchService/MayFlies.java

Reviewed-by: alanb
2016-03-25 19:46:48 +08:00
Zoltan Majo
c8858ca3b6 Merge 2016-03-24 16:21:19 +01:00
Paul Sandoz
4485394e3d 8149469: ByteBuffer API and implementation enhancements for VarHandles
Reviewed-by: chegar, alanb
2016-03-24 11:21:18 +01:00
Chris Hegarty
ff2e79c118 Merge 2016-03-22 10:42:32 +00:00