Skip to content

Commit d1d1720

Browse files
committedJul 17, 2020
8249632: remove no-arg constructor from ToolProvider
Reviewed-by: jjg
1 parent 59cd79a commit d1d1720

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
 

‎src/java.compiler/share/classes/javax/tools/ToolProvider.java

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -44,11 +44,7 @@ public class ToolProvider {
4444
private static final String systemJavaCompilerModule = "jdk.compiler";
4545
private static final String systemJavaCompilerName = "com.sun.tools.javac.api.JavacTool";
4646

47-
/**
48-
* Do not call.
49-
*/
50-
@Deprecated(forRemoval=true, since="14")
51-
public ToolProvider() {}
47+
private ToolProvider() {}
5248

5349
/**
5450
* Returns the Java programming language compiler provided

0 commit comments

Comments
 (0)
Please sign in to comment.