JDK-4663125 : src/share/classes/sun/tools/jar/Main.java imports sun.tools.util.CommandLine
  • Type: Bug
  • Component: tools
  • Sub-Component: jar
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2002-04-04
  • Updated: 2003-08-13
  • Resolved: 2003-08-13
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.
Other
5.0 tigerFixed
Related Reports
Relates :  
Relates :  
Description
src/share/classes/sun/tools/jar/Main.java
imports
sun.tools.util.CommandLine

This CommandLine class is part of the old javac compiler, and
this is the only client of that code outside javac.  Can you 
please make a new

	com.sun.tools.util.CommandLine

that implements this functionality so I can remove this piece of
the old javac compiler?

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b15
14-06-2004

EVALUATION Yes, this bug needs to be fixed in order to implement 4633413 for Tiger. The current fix for this bug is to give the sun.tools.jar package its own copy of the CommandLine utility class (a copy of the former sun.tools.util.CommandLine, plus a usage disclaimer warning), instead of moving CommandLine to com.sun.tool.util as suggested in the Description. The current fix is less than ideal, as there are multiple copies of this essentially identical little CommandLine utility class (its function is to process @file arguments to SDK tools). The ideal fix, however, requires resolving the issue of sun/tools/jar/ not being excluded from the JRE's rt.jar (see 4337646), which makes it quite awkward for sun.tools.jar classes to refer to classes only available in the SDK's tools.jar. Cleaning up these issues will be the subject of a separate bug. This bug is fixed along with 4633413 and other friends (and will be integrated through the RMI workspace). ###@###.### 2003-08-05
05-08-2003