changeset 6412:ca9b98508292

RT-36094 javac warning No SupportedSourceVersion annotation
author Martin Sladecek <martin.sladecek@oracle.com>
date Tue, 04 Mar 2014 10:12:19 +0100
parents 7fac01b6f9b8
children 39856b5ce3f7 085d0c62f4c8
files modules/fxml/src/main/java/com/sun/javafx/fxml/annotation/FXMLAnnotationProcessor.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/fxml/src/main/java/com/sun/javafx/fxml/annotation/FXMLAnnotationProcessor.java	Tue Feb 25 13:40:48 2014 +1300
+++ b/modules/fxml/src/main/java/com/sun/javafx/fxml/annotation/FXMLAnnotationProcessor.java	Tue Mar 04 10:12:19 2014 +0100
@@ -30,6 +30,8 @@
 import javax.annotation.processing.AbstractProcessor;
 import javax.annotation.processing.RoundEnvironment;
 import javax.annotation.processing.SupportedAnnotationTypes;
+import javax.annotation.processing.SupportedSourceVersion;
+import javax.lang.model.SourceVersion;
 import javax.lang.model.element.Element;
 import javax.lang.model.element.ExecutableElement;
 import javax.lang.model.element.Modifier;
@@ -39,6 +41,7 @@
 import javax.tools.Diagnostic;
 
 @SupportedAnnotationTypes("javafx.fxml.FXML")
+@SupportedSourceVersion(SourceVersion.RELEASE_8)
 public class FXMLAnnotationProcessor extends AbstractProcessor{
 
     @Override