New and (hopefully) improved javac.in
C. K. Jester-Young
cky944 at gmail.com
Wed Sep 17 04:05:06 PDT 2008
Hi there,
A while ago, in a thread with Mark, I mentioned that I found it odd that
when using ecj to compile, this message kept coming up:
incorrect classpath: hotspot-tools/com/sun/codemodel/internal/ClassType.java
I figured at the time that it was because ecj was treating the
"-bootclasspath '' @hotspot-tools-source-files.txt" as simply
"-bootclasspath @hotspot-tools-source-files.txt", losing the empty
argument. It turns out that the javac wrapper shell script lost the
empty argument in its argument handling.
I have thus written a new javac wrapper script. It uses Perl, rather
than shell, because I figured this to be more portable than relying on
a shell with proper array support (read: different versions of bash
differed on how arrays are supported). And without arrays, keeping empty
arguments intact would be very difficult.
I have endeavoured to keep to the spirit of the original javac.in; any
comments would be welcome.
Cheers,
---Chris K.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: javac.in
Type: text/x-perl
Size: 962 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20080917/d6f3cc28/javac.in
More information about the distro-pkg-dev
mailing list