Commit Graph

310 Commits

Author SHA1 Message Date
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
Brian Burkhalter
eb79060337 8133287: (fs) java/nio/file/Files/probeContentType/ParallelProbes.java should use othervm mode
Add @build tag containing ParallelProbes and SimpleFileTypeDetector and reinstate othervm mode.

Reviewed-by: darcy
2015-08-10 17:26:55 -07:00
Brian Burkhalter
aabba04bda 8132497: (fs) FileSystems.newFileSystem(URI, ..) doesn't handle UOE thrown by provider
Handle UOEs in newFileSystem(URI,...) similarly to as done in newFileSystem(Path path, ClassLoader loader).

Reviewed-by: chegar
2015-08-10 10:50:24 -07:00
Brian Burkhalter
e0803f5e68 8133207: ParallelProbes.java test fails after changes for JDK-8080115
Do not run in othervm mode.

Reviewed-by: darcy, rriggs
2015-08-07 16:09:10 -07:00
Brian Burkhalter
f0c2f24793 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-08-07 07:10:44 -07:00
Brian Burkhalter
ba6e733ede 8129633: (fs) Investigate removing the GNOME-based FileTypeDetector from the Linux and Solaris implementations
Remove the GNOME VFS detector leaving the libgio detector in place.

Reviewed-by: chegar
2015-08-06 12:35:59 -07:00
Brian Burkhalter
8c92994887 8132795: Bug ID accidentally omitted from top level regression test in fix for JDK-8065556
Add 8065556 to list of IDs in the @bug tag list.

Reviewed-by: alanb
2015-07-31 07:48:34 -07:00
Brian Burkhalter
8a369f2f2c 8073078: java/nio/file/FileStore/Basic.java sensitive to NFS configuration
Ignore NoSuchFileExceptions as the store might have been deleted subsequent to creation of the FileStore iterator which is not dynamic.

Reviewed-by: alanb
2015-07-31 07:15:59 -07:00
Brian Burkhalter
7cd090f230 8065556: (bf) Buffer.position and other methods should include detail in IAE
Add messages to IAEs which have none.

Reviewed-by: alanb
2015-07-24 11:52:30 -07:00
Tristan Yan
7f9414bc11 8068761: Test java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failed with SocketTimeoutException
Reviewed-by: rriggs
2015-07-21 14:15:59 -04:00
Brian Burkhalter
0ee4830a94 8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN
Refine documentation of allocate*(), wrap(), slice(), duplicate(), asReadOnlyBuffer(), and as{Type}Buffer() to explcitly state the byte order of the created buffer.

Reviewed-by: alanb
2015-07-15 10:43:07 -07:00
Felix Yang
ea58ca6a25 8130394: DatagramChannel tests need to be hardended to ignore stray datagrams
The patch updates tests to ignore stray datagrams, or at least print more information to ease troubleshooting.

Reviewed-by: rriggs
2015-07-15 08:42:24 -07:00
Daniel D. Daugherty
10219ee9a2 Merge 2015-07-03 07:13:24 -07:00
Daniel D. Daugherty
bee43f05d7 Merge 2015-07-02 14:39:54 -07:00
Jean-Francois Denise
30cacaa5c9 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:24:39 +02:00
Paul Sandoz
f219ffb2f2 8072773: (fs) Files.lines needs a better splitting implementation for stream source
Reviewed-by: alanb
2015-06-24 12:05:30 +02:00
Brian Burkhalter
9966dd8518 8081293: java/nio/file/Files/CopyAndMove.java failed with java.nio.file.FileAlreadyExistsException intermittently
Print seed used to initialize Random and add ability to specify seed.

Reviewed-by: alanb, chegar
2015-06-19 09:35:10 -07:00
Brian Burkhalter
bfe32f271f 8129632: (fs) Files.probeContentType returns null on Mac OS X
Append a Uniform Type Identifier-based FileType Detector for Mac OS X

Reviewed-by: alanb
2015-06-30 10:47:54 -07:00
Brian Burkhalter
0bc308ad38 8087304: (ch) java/nio/channels/DatagramChannel/EmptyBuffer.java received 4 times while expected 3
Only count datagrams received from the client within the test.

Reviewed-by: alanb, chegar
2015-06-16 14:38:51 -07:00