JDK-4030934 : Provide the ability to compile from/to zip files.
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 1.1
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris_2.4
  • CPU: other
  • Submitted: 1997-02-07
  • Updated: 2001-11-12
  • Resolved: 2001-11-12
Related Reports
Relates :  
Relates :  
Description
dac has already endowed the compiler witht he ability to compile .java files located in a .zip file, without having to unzip them first.  (The resulting .class files are stuck in the target directory.)

If the compiler put the compiled .class files into another .zip archive file, this would alleviate many of the filename-length problems that occur on some platforms.  The elaborate filename munging tools that are currently used would no longer be necessary if the long filenames never needed to be written to disk, but were stored/compiled within zip files.

Comments
EVALUATION Another reason to compile directly to zip or jar files is to enforce the restriction of -O:interclass that the generated files need to be used as a single unit. david.stoutamire@Eng 1997-10-22 Requires extensions to the zip interface. I have submitted an RFE (4400549) neal.gafter@Eng 2000-12-12 We have no immediate plans to address this issue. ###@###.### 2001-11-12
12-12-2000