The classes in the package sun/tools/javac are used in the j2se workspace and should not be.
Once these uses are removed, the files can be deleted.
The new langtools workspace will NOT include these files.
----
These are the j2se workspace references I have:
>
> ./com/sun/tools/internal/ws/util/JavaCompilerHelper.java: Class sunToolsJavacMainClass = cl.loadClass("sun.tools.javac.Main");
> ./sun/rmi/rmic/BatchEnvironment.java:public class BatchEnvironment extends sun.tools.javac.BatchEnvironment {
> ./sun/rmi/rmic/Main.java:import sun.tools.javac.SourceClass;
> ./sun/tools/asm/Assembler.java:import sun.tools.javac.*;
> ./sun/tools/java/BinaryClass.java: sun.tools.javac.Main.getText(
> ./sun/tools/java/BinaryClass.java: sun.tools.javac.Main.getText(
> ./sun/tools/java/ClassDefinition.java: protected boolean supersCheckStarted = !(this instanceof sun.tools.javac.SourceClass);
> ./sun/tools/java/ClassDefinition.java: sun.tools.javac.SourceClass) {
> ./sun/tools/java/ClassDefinition.java: new sun.tools.javac.SourceMember(method,this,
> ./sun/tools/java/ClassDefinition.java: new sun.tools.javac.SourceMember(method,
> ./sun/tools/java/MemberDefinition.java: && this instanceof sun.tools.javac.SourceMember) {