This seems to be a java8 thing. The test actually expexts an IOException, and in the above stacktrace location it is actually thrown:
But the runtime seems to wrap this in an IlelgalArgumentException. Internez say it is related to try with resource (which can collect suppressed exceptions), however we don't use that (at least not in the VFS code). Maybe its a test test-framework or JUnit problem?