This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git
The following commit(s) were added to refs/heads/master by this push: new bee91cd Source level eight or seven is supported by the annotation processor bee91cd is described below commit bee91cd91a13a9963193412e3ae5d062b977cbeb Author: Jaroslav Tulach <jaroslav.tul...@oracle.com> AuthorDate: Sat Apr 28 15:07:02 2018 +0200 Source level eight or seven is supported by the annotation processor --- .../java/org/netbeans/html/boot/impl/JavaScriptProcesor.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/boot/src/main/java/org/netbeans/html/boot/impl/JavaScriptProcesor.java b/boot/src/main/java/org/netbeans/html/boot/impl/JavaScriptProcesor.java index cac5a5c..bf97dde 100644 --- a/boot/src/main/java/org/netbeans/html/boot/impl/JavaScriptProcesor.java +++ b/boot/src/main/java/org/netbeans/html/boot/impl/JavaScriptProcesor.java @@ -80,6 +80,15 @@ public final class JavaScriptProcesor extends AbstractProcessor { } @Override + public SourceVersion getSupportedSourceVersion() { + try { + return SourceVersion.valueOf("RELEASE_8"); // NOI18N + } catch (IllegalArgumentException ex) { + return SourceVersion.RELEASE_7; + } + } + + @Override public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) { final Messager msg = processingEnv.getMessager(); for (Element e : roundEnv.getElementsAnnotatedWith(JavaScriptBody.class)) { -- To stop receiving notification emails like this one, please contact jtul...@apache.org. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists