Skip to content

Commit b085ab9

Browse files
archiecobbsVicente Romero
authored and
Vicente Romero
committed
8180387: com.sun.source.util.JavacTask should have a protected constructor.
Reviewed-by: vromero
1 parent bfb812a commit b085ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jdk.compiler/share/classes/com/sun/source/util/JavacTask.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public abstract class JavacTask implements CompilationTask {
5353
/**
5454
* Constructor for subclasses to call.
5555
*/
56-
public JavacTask() {}
56+
protected JavacTask() {}
5757

5858
/**
5959
* Returns the {@code JavacTask} for a {@code ProcessingEnvironment}.

0 commit comments

Comments
 (0)