JDK 10 RFR(xs): JDK-8193476 (jdeprscan) additional version updates for JDK 10
joe darcy
joe.darcy at oracle.com
Wed Dec 13 21:47:28 UTC 2017
Looks good Stuart; thanks,
-Joe
On 12/13/2017 1:38 PM, Stuart Marks wrote:
> Hi all,
>
> Please review a couple version updates for jdeprscan that need to
> squeak in before JDK 10 closes. Diffs below. Thanks.
>
> s'marks
>
>
> diff -r 31bad3096948 -r 7ebe4e27f1d0
> src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/TraverseProc.java
> ---
> a/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/TraverseProc.java
> Wed Dec 13 10:09:36 2017 -0800
> +++
> b/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/TraverseProc.java
> Wed Dec 13 13:30:07 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;
>
> - at SupportedSourceVersion(RELEASE_9)
> + at SupportedSourceVersion(RELEASE_10)
> @SupportedAnnotationTypes("*")
> public class TraverseProc extends AbstractProcessor {
> Elements elements;
> diff -r 31bad3096948 -r 7ebe4e27f1d0
> src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/readme.md
> --- a/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/readme.md
> Wed Dec 13 10:09:36 2017 -0800
> +++ b/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/readme.md
> Wed Dec 13 13:30:07 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
> diff -r 31bad3096948 -r 7ebe4e27f1d0
> src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/resources/jdeprscan.properties
> ---
> a/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/resources/jdeprscan.properties
> Wed Dec 13 10:09:36 2017 -0800
> +++
> b/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/resources/jdeprscan.properties
> Wed Dec 13 13:30:07 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
>
More information about the compiler-dev
mailing list