JDK-6587435 : Remove files and use of sun/tools/javac
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-07-31
  • Updated: 2010-04-02
  • Resolved: 2007-08-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Description
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) {

Comments
EVALUATION I don't know of any issue here beyond what's already open as 4633413 or 4819896, so I am closing this CR as a duplicate of one of those.
28-08-2007