- Handle unchecked exceptions such as
UnsupportedOperationException
(rather than dying), which may be thrown by filesystems when accessing aPath
object discovered as a classpath element. (#553, thanks to @wajda for the report and the helpful info on how to reproduce.) - Specifically, ignore
JrtFileSystem
(which throwsUnsupportedOperationException
if you try to open a newFileChannel
on a resource). This filesystem is not needed anyway, as ClassGraph already has the ability to scan all visible modules using the JPMS API.