JDK-6455452 : JSR 199: unnecessary imports in ForwardingJavaFileObject.java
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-08-01
  • Updated: 2011-05-18
  • Resolved: 2011-05-18
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
7 b03Fixed
Related Reports
Relates :  
Relates :  
Description
In ForwadingJavaFileObject.java there are many imports which are not used.
Out of  "import java.io.IOException;  import java.io.InputStream;  import java.io.OutputStream;  import java.io.Reader;   import java.io.Writer;  import java.net.URI;
 import javax.lang.model.element.Modifier;  import javax.lang.model.element.NestingKind;   
Only  
javax.lang.model.element.Modifier; javax.lang.model.element.NestingKind; are used in the source file. Rest can be deleted.

Comments
EVALUATION Yes.
03-08-2006