In JDK9+, the system classloader is replaced with a new AppClassLoader that doesn't extend from URLClassLoader.
FileUtils.getAllClassPathUrls only checks if the classloader is an instance of URLClassLoader and doesn't have another way of getting urls for JARs that are on the classpath if it isn't.
As getAllClassPathUrls is used by scanForFeatureFiles, it seems to mean that trying to reuse feature files in other jars currently can't be done when using JDK9+.
Thanks for the merge @ptrthomas - was just wondering when the next release is planned so I can set a reminder to update our dependencies?
I'm thinking within a week. we also announce on twitter if it helps: https://twitter.com/KarateDSL
@tellisnz can you test once from the develop branch to make sure some of the new commits haven't broken anything important. we have regression tests and all, but just in case.
all ok @ptrthomas
hi @ptrthomas - any updates? currently waiting for the release so I can merge into my work project.. if the release is still a ways off i'll push our own build of it, but seems a shame if the release is imminent.
@tellisnz yes, got delayed. will happen within next week for sure
released 0.9.2
Most helpful comment
I'm thinking within a week. we also announce on twitter if it helps: https://twitter.com/KarateDSL