62002: Skip test for Java 9

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1821492 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/org/apache/tomcat/util/scan/TestStandardJarScanner.java b/test/org/apache/tomcat/util/scan/TestStandardJarScanner.java
index 102ff8a..a809bc3 100644
--- a/test/org/apache/tomcat/util/scan/TestStandardJarScanner.java
+++ b/test/org/apache/tomcat/util/scan/TestStandardJarScanner.java
@@ -26,17 +26,21 @@
 import java.util.List;
 
 import org.junit.Assert;
+import org.junit.Assume;
 import org.junit.Test;
 
 import org.apache.tomcat.Jar;
 import org.apache.tomcat.JarScanType;
 import org.apache.tomcat.JarScannerCallback;
 import org.apache.tomcat.unittest.TesterServletContext;
+import org.apache.tomcat.util.compat.JreCompat;
 
 public class TestStandardJarScanner {
 
     @Test
     public void testWebappClassPath() {
+        Assume.assumeFalse("No URLClassLoader with Java 9", JreCompat.isJre9Available());
+
         StandardJarScanner scanner = new StandardJarScanner();
 
         scanner.setScanClassPath(true);