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
Huaming Li
b69f398c06
8151582: (ch) test java/nio/channels/AsyncCloseAndInterrupt.java failing due to "Connection succeeded"
...
Reviewed-by: bpb, rriggs, alanb
2016-03-20 07:35:20 +00:00
Alan Bateman
db4d383614
8142968: Module System implementation
...
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Hamlin Li
34313c01e3
8143610: (dc) java/nio/channels/DatagramChannel/AdaptDatagramSocket.java failed intermittently due to SocketTimeoutException
...
Reviewed-by: alanb
2016-03-08 11:01:38 +00:00
Joe Darcy
57494c431d
8151750: Mark ChangingInterests.java as intermittently failing
...
Reviewed-by: lancea
2016-03-11 15:30:20 -08:00
Amy Lu
39cfbc6593
8150608: Mark BashStreams.java as intermittently failing and put to ProblemList
...
Reviewed-by: bpb, rriggs
2016-02-26 09:55:14 +08:00
Brian Burkhalter
4ccb461831
8150204: (fs) Enhance java/nio/file/Files/probeContentType/Basic.java debugging output
...
Add debugging information to the test.
Reviewed-by: alanb
2016-02-15 16:59:56 -08:00
Yingqi Lu
4dfed66526
6432031: Add support for SO_REUSEPORT
...
Reviewed-by: alanb, simonis, chegar
2016-02-23 17:41:00 +00:00
Alan Bateman
c464136491
8148192: (fs) Path.register can fail with Bad file descriptor and other errors
...
Reviewed-by: chegar
2016-01-28 12:55:19 +00:00
Alan Bateman
3573d65040
8148147: Sync up @modules from jigsaw/jake
...
Reviewed-by: chegar, mchung
2016-01-25 19:01:19 +00:00
Huaming Li
9fdfd0fc8f
8146213: (so) Test java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failed intermittently with Connection refused
...
Reviewed-by: bpb, alanb
2016-01-17 08:43:49 +00:00
Huaming Li
380495673a
8141595: (so) java/nio/channels/ServerSocketChannel/NonBlockingAccept.java fails intermittently
...
Reviewed-by: alanb
2016-01-15 11:09:25 +00:00
Huaming Li
5df533dc6d
8143100: (sc) java/nio/channels/ServerSocketChannel/Basic.java fails intermittently
...
Reviewed-by: alanb
2016-01-15 10:58:09 +00:00
Brian Burkhalter
6739382299
8146359: test/java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile.java fails when nc is not available
...
Check for presence of netcat command using 'which' before running test
Reviewed-by: alanb
2016-01-05 16:03:36 -08:00
Brian Burkhalter
119f59143f
8050499: (ch) NativeSignal.signal fails with error 316 on OS X
...
Do not throw an exception when ESRCH returned by pthread_kill() on OS X.
Reviewed-by: alanb
2016-01-05 13:57:32 -08:00
Sebastian Sickelmann
053032b76c
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
Brian Burkhalter
031af5cb63
8133986: (fs) Remove file deletion from test/java/nio/file/FileSystem/Basic.java checkNoUOE() method
...
Do not delete file which provoked an unexpected exception.
Reviewed-by: alanb
2015-12-11 08:30:50 -08:00
Brian Burkhalter
30abf404b3
8139133: Changing the modification time on a unix domain socket file fails
...
If a file descriptor cannot be obtained, use utimes() instead of futimes().
Reviewed-by: alanb
2015-12-10 15:57:27 -08:00
Felix Yang
3c5dd5581c
8143015: 5 tests fail with error "Can't find source for class: java.util.stream.OpTestCase"
...
Reviewed-by: weijun
2015-11-16 12:54:01 +08: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
Ivan Gerasimov
1613e728cc
8137121: (fc) Infinite loop FileChannel.truncate
...
Reviewed-by: alanb
2015-09-26 00:23:15 +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
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
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
Brian Burkhalter
5924c95500
8132539: (fs) Files.lines(path).collect() returns wrong value in JDK 9 with certain files
...
Do not use the Spliterator approach for lines() if the FileChannel size is thought to be zero.
Reviewed-by: chegar
2015-08-12 07:55:24 -07:00