madhukar-git commented on issue #3075: Fixing failures on RamDisk due to Java API Files.getFileStore() URL: https://github.com/apache/activemq-artemis/pull/3075#issuecomment-612286095 > Added a dummy implementation of FileStore object. Its a workaround to handle the exception thrown from org.apache.activemq.artemis.core.server.files.FileStoreMonitor.addStore(File) when running on a RAMDISK machine or similar virtual file system Regardless of your java version, we get below exception while executing the Java statement java.nio.file.Files.getFileStore(path) //where “path” points to RAM disk drive named R:\ . java.nio.file.FileSystemException: R:\: Incorrect function. at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) at java.base/sun.nio.fs.WindowsFileStore.create(WindowsFileStore.java:94) at java.base/sun.nio.fs.WindowsFileSystemProvider.getFileStore(WindowsFileSystemProvider.java:487) at java.base/java.nio.file.Files.getFileStore(Files.java:1490)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
