8180387: com.sun.source.util.JavacTask should have a protected constructor.

Reviewed-by: vromero
This commit is contained in:
Archie L. Cobbs 2023-03-17 20:52:38 +00:00 committed by Vicente Romero
parent bfb812a8ff
commit b085ab9316

View File

@ -53,7 +53,7 @@ public abstract class JavacTask implements CompilationTask {
/**
* Constructor for subclasses to call.
*/
public JavacTask() {}
protected JavacTask() {}
/**
* Returns the {@code JavacTask} for a {@code ProcessingEnvironment}.