Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6597531
Votes 0
Synopsis unused imports and unused private const. in com.sun.tools.javac.Server.java
Category java:compiler
Reported Against
Release Fixed 7(b36)
State 10-Fix Delivered, request for enhancement
Priority: 5-Very Low
Related Bugs
Submit Date 27-AUG-2007
Description
unused imports and unused private const. in com.sun.tools.javac.Server.java

Unused imports :
import com.sun.tools.javac.main.JavacOption.Option;
import com.sun.tools.javac.main.RecognizedOptions.GrumpyHelper;
import com.sun.tools.javac.main.RecognizedOptions;

the following code is not used :
<code - com.sun.tools.javac.Server.java>
private Server(BufferedReader in, OutputStream out) {
        this(in, out, false);
}
</code - com.sun.tools.javac.Server.java>

The above const. might have been written for 
if (args.length == 2) {
            for (;;) {
                throw new UnsupportedOperationException("TODO");
//              BufferedReader in = new BufferedReader(new FileReader(args[0]));
//              PrintWriter out = new PrintWriter(args[1]);
//              new Server(in, out).run();
//              System.out.flush();
//              System.err.flush();
            }
        }

but the above code is commented, I think the private cont. is also can be commented.
Posted Date : 2007-08-27 12:08:56.0
Work Around
N/A
Evaluation
Yes
Posted Date : 2008-08-09 00:27:01.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang