Affects Version/s: None
Fix Version/s: None
Environment:CygWin and Windows
In his initial port, Geir added at my suggestion a .BAT file as
a temporary (repeat TEMPORARY) workaround for JAR access
for loading Java .class files. Ultimately, code needs to be written
to support this without having to call system(3) and forking a
process to call the JDK utilities. (There will eventually be another
JIRA entry to document this issue.)
The initial .BAT file looks like this (SVN 312649)
%2\bin\jar -xfv %3%4%5 %6
In order to generalize this .BAT file, the following needs to
be added to be handle setup of this environment. Remember
that MS-DOS has effectively a two-part `pwd`, namely, a disk
partition drive letter and a directory on that volume. Thus,
in order to make this script run the first time for new developers,
it should probably look something like this, where a new parameter
number 1 is the disk drive letter, and all parameter numbers are
increased by 1:
if not exist %2*.* mkdir %2
%3\bin\jar -xfv %4%5%6 %7
This should completely generalize the script. The corresponding
adjustment should then be made in 'bootJVM/jvm/src/jvmcfg.h'
(SVN 312648) and the change should be comlete.
Once full JAR support is added, both the .BAT file and the 'jvmcfg.h'
change (and nearby code) will go away, along with the code in the
class loader that uses it.