JDK 16 RFR of JDK-8249632: remove no-arg constructor from ToolProvider

Joe Darcy joe.darcy at oracle.com
Fri Jul 17 02:08:30 UTC 2020


PS Clean build and langtools regression test run with the constructor 
removed.

-Joe

On 7/16/2020 7:07 PM, Joe Darcy wrote:
> Hello,
>
> Please review the removal of a deprecated-for-removal constructor:
>
>     JDK-8249632: remove no-arg constructor from ToolProvider
>     webrev: http://cr.openjdk.java.net/~darcy/8249632.0/
>     CSR: https://bugs.openjdk.java.net/browse/JDK-8249644
>
> Patch below; thanks,
>
> -Joe
>
> --- old/src/java.compiler/share/classes/javax/tools/ToolProvider.java 
> 2020-07-16 18:59:58.685000000 -0700
> +++ new/src/java.compiler/share/classes/javax/tools/ToolProvider.java 
> 2020-07-16 18:59:58.025000000 -0700
> @@ -45,12 +45,6 @@
>      private static final String systemJavaCompilerName   = 
> "com.sun.tools.javac.api.JavacTool";
>
>      /**
> -     * Do not call.
> -     */
> -    @Deprecated(forRemoval=true, since="14")
> -    public ToolProvider() {}
> -
> -    /**
>       * Returns the Java programming language compiler provided
>       * with this platform.
>       * <p>The file manager returned by calling
>


More information about the compiler-dev mailing list