8193476: (jdeprscan) additional version updates for JDK 10
authorsmarks
Wed, 13 Dec 2017 14:23:34 -0800
changeset 48322 0cd5e2ca53dd
parent 48321 e9e3edac1768
child 48323 23d427d8a1ff
8193476: (jdeprscan) additional version updates for JDK 10 Reviewed-by: darcy
src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/TraverseProc.java
src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/readme.md
src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/resources/jdeprscan.properties
--- a/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/TraverseProc.java	Wed Dec 13 10:21:21 2017 +0100
+++ b/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/TraverseProc.java	Wed Dec 13 14:23:34 2017 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -45,14 +45,14 @@
 import javax.lang.model.element.TypeElement;
 import javax.lang.model.util.Elements;
 
-import static javax.lang.model.SourceVersion.RELEASE_9;
+import static javax.lang.model.SourceVersion.RELEASE_10;
 import javax.lang.model.element.Element;
 import javax.lang.model.element.ElementKind;
 import javax.lang.model.element.Modifier;
 import javax.lang.model.element.PackageElement;
 import javax.tools.Diagnostic;
 
-@SupportedSourceVersion(RELEASE_9)
+@SupportedSourceVersion(RELEASE_10)
 @SupportedAnnotationTypes("*")
 public class TraverseProc extends AbstractProcessor {
     Elements elements;
--- a/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/readme.md	Wed Dec 13 10:21:21 2017 +0100
+++ b/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/readme.md	Wed Dec 13 14:23:34 2017 -0800
@@ -1,6 +1,6 @@
 <!--
 
-Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 
 This code is free software; you can redistribute it and/or modify it
@@ -62,7 +62,7 @@
 
             Prints out the set of deprecated APIs.
 
-        --release 6|7|8|9
+        --release 6|7|8|9|10
 
             Specifies the Java SE release that is the source of
             the list of deprecated APIs. If no --release option is
--- a/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/resources/jdeprscan.properties	Wed Dec 13 10:21:21 2017 +0100
+++ b/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/resources/jdeprscan.properties	Wed Dec 13 14:23:34 2017 -0800
@@ -7,7 +7,7 @@
 \       --full-version\n\
 \  -h   --help\n\
 \  -l   --list\n\
-\       --release 6|7|8|9\n\
+\       --release 6|7|8|9|10\n\
 \  -v   --verbose\n\
 \       --version