Comments (2)
I can not yet quite reproduce this. The stack trace I'm getting is:
java.nio.file.ClosedFileSystemException
at com.github.marschall.memoryfilesystem.ClosedFileSystemChecker.check(ClosedFileSystemChecker.java:9)
at com.github.marschall.memoryfilesystem.MemoryFileSystem.provider(MemoryFileSystem.java:904)
at java.nio.file.Files.provider(Files.java:65)
at java.nio.file.Files.createDirectory(Files.java:628)
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:732)
at java.nio.file.Files.createDirectories(Files.java:681)
at org.opencage.lindwurm.niotest.tests.Setup.getClosedFS(Setup.java:318)
at org.opencage.lindwurm.niotest.tests.PathTest7ClosedIT.testClosedFSisClosed(PathTest7ClosedIT.java:58)
So the exception I'm getting is not from #isOpen
but from trying to create a file on a closed file system. That should be ok.
from memoryfilesystem.
actually this niotest test now passes for me.
I have to assume there is something fishy with my test setup.
=> no bug
from memoryfilesystem.
Related Issues (20)
- Implement FileSystemProvider#deleteIfExists
- Removing all FilePermissions leaves the file still read and writeable HOT 3
- Implement JUnit extension for @CompatibilityTest
- MemoryFileSystem::newOutputFileStream does not check the path it opens for write permissions HOT 4
- Is it possible to use MemoryFileSystem as the default FileSystem? HOT 3
- Support Jakarta EE
- Path.touri().getPath() returns null HOT 7
- Support URLs HOT 6
- Module descriptor or module name seems to have gone away HOT 4
- Verify MemoryInode.writeFully handles overflow
- Infinite loop on #transferFrom underflow
- Consider introducing a Flags abstraction
- Validate invalid open options combinations
- Implement header support for URLConnection
- Files.setPosixFilePermissions throws UnsupportedOperationException HOT 3
- Relative paths in symlinks not correctly resolved
- newInputStream and newOutputStream are not atomic
- macOS paths no longer normalised to NFD
- Solution or workaround for nested zip/jar files? HOT 2
- Wrong index referenced in exception message for subpath HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from memoryfilesystem.