From dd0eaa0f1fb7ebc31db9d0b9f81e3baef0aa74b2 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Tue, 17 Oct 2017 17:14:18 +1100 Subject: [PATCH] Issue #1901 Backport some java9 support to 9.3 --- .../jetty/annotations/AnnotationParser.java | 5 +- jetty-util/pom.xml | 67 ------------------- 2 files changed, 3 insertions(+), 69 deletions(-) diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java index f8752d9866a..d1c8d984bda 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java @@ -471,7 +471,7 @@ public class AnnotationParser return new MyFieldVisitor(_handlers, _ci, access, fieldName, fieldType, signature, value); } } - + /** * Add a class as having been parsed. * @@ -653,7 +653,7 @@ public class AnnotationParser * Parse all classes in a directory * * @param handlers the set of handlers to look for classes in - * @param dir the resource directory to look for classes + * @param root the resource directory to look for classes * @param resolver the class name resolver * @throws Exception if unable to parse */ @@ -860,6 +860,7 @@ public class AnnotationParser * Parse a single entry in a jar file * * @param handlers the handlers to look for classes in + * @param jar The jar from which entry was obtained * @param entry the entry in the potentially MultiRelease jar resource to parse * @param resolver the class name resolver * @throws Exception if unable to parse diff --git a/jetty-util/pom.xml b/jetty-util/pom.xml index 5d408646ed3..8340023f99c 100644 --- a/jetty-util/pom.xml +++ b/jetty-util/pom.xml @@ -11,8 +11,6 @@ http://www.eclipse.org/jetty ${project.groupId}.util - ${project.basedir}/src/main/java9 - ${project.build.directory}/classes-java9 @@ -59,69 +57,4 @@ test - - - - jdk9 MR Jar - - [1.9,) - - - - - org.apache.maven.plugins - maven-antrun-plugin - - - compile-java9 - compile - - - - - - - - run - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - copy-resources - prepare-package - - copy-resources - - - ${project.build.outputDirectory}/META-INF/versions/9 - - - ${java9.build.outputDirectory} - - - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - - - - - - - -