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
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
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
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
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
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
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
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
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
Mandy Chung
53a97cbeb3
8081347: Add @modules to jdk_core tests
...
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Brian Burkhalter
a6ad9cd49a
8080629: (fs) Re-enable ability to fsync() on directories even though read()s on those directories may fail
...
Revert fix applied to resolve JDK-8066915.
Reviewed-by: alanb
2015-05-19 07:12:10 -07:00
Brian Burkhalter
c0d7208b4b
8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
...
Add to specification of newBufferedWriter() and write() methods that the DELETE_ON_CLOSE option triggers invoking checkDelete().
Reviewed-by: alanb
2015-05-07 16:12:10 -07:00
Joe Darcy
86c109e149
8078334: Mark regression tests using randomness
...
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Joe Darcy
07cd371738
8075670: Remove intermittent keyword from some tests
...
Reviewed-by: alanb
2015-03-23 09:45:32 -07:00
Joe Darcy
2596979bfe
8075565: Define @intermittent jtreg keyword and mark intermittently failing jdk tests
...
Reviewed-by: lancea
2015-03-19 18:38:26 -07:00
Brian Burkhalter
bd61d670c3
8073445: (fs) FileSystem.getPathMatcher(...) should check syntax component without regard to case
...
Change String equals() to equalsIgnoreCase() where needed.
Reviewed-by: alanb
2015-03-04 15:05:41 -08:00
Brian Burkhalter
980fb58833
8072495: (fs) Path.relativize() gives incorrect result for empty path on Windows
...
Correct handling of empty path in Windows version of relativize()
Reviewed-by: alanb, dfuchs
2015-02-06 08:05:44 -08:00
Alan Bateman
ccab6bc563
8066915: (fs) Files.newByteChannel opens directories for cases where subsequent reads may fail
...
Reviewed-by: chegar
2014-12-10 15:01:26 +00:00
Alan Bateman
f0b198804a
8062955: (fs spec) Files.setLastModifiedTime should specify SecurityException more clearly
...
8062949: (fs) Files.setLastModifiedTime(path, null) does not throw NPE
Reviewed-by: chegar
2014-11-28 14:58:10 +00:00
Alan Bateman
2689839d79
8029516: (fs) WatchKey cancel unreliable on Windows
...
Reviewed-by: chegar
2014-09-05 12:18:31 +01:00
Ivan Gerasimov
686936042d
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
b845d7541e
8011537: (fs) Path.register(..) clears interrupt status of thread with no InterruptedException
...
Reviewed-by: alanb
2014-05-07 09:43:40 +04:00
Alan Bateman
252aa24c76
8037945: Paths.get("").normalize() throws ArrayIndexOutOfBoundsException
...
Reviewed-by: chegar
2014-03-24 15:09:47 +00:00
Lana Steuck
657b9db1ba
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
Alan Bateman
804f3e85f3
8034175: Remove use of UseVMInterruptibleIO from tests
...
Reviewed-by: chegar
2014-02-11 10:49:07 +00:00
Alan Bateman
0abb2b14ed
8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option
...
Reviewed-by: michaelm
2014-02-03 14:18:45 +00:00
Vladimir Kozlov
57b7b831ae
Merge
2014-01-28 14:57:41 -08:00
Alan Bateman
c276ce4f08
8032220: Files.createDirectories throws exception with confusing message for root directories that exist
...
Reviewed-by: chegar
2014-01-21 09:33:48 +00:00
Volker Simonis
70041ae4e4
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
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
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
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
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
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