[PATCH] Fix Jacks testsuite invocation

Ulrich Weigand weigand@immd1.informatik.uni-erlangen.de
Wed Feb 5 00:31:00 GMT 2003


Tom Tromey wrote:

> >>>>> "Ulrich" == Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de> writes:
> 
> Ulrich> The majority of the errors turned out to be another setup problem
> Ulrich> apparently, as they go away when . is added to the CLASSPATH.
> 
> I wonder why I don't see these.

Your setup must be different, because it apparently worked for you
with an empty CLASSPATH.  I couldn't run Jacks at all without setting
CLASSPATH to find libgcj-3.4.jar.  

Interestingly enough, this piece in _set_classpath in jacks.tcl omits
adding . to the CLASSPATH if it is empty:
    # If adddot is true, then append . to the CLASSPATH
    if {$CLASSPATH != "" && $adddot} {
        append CLASSPATH ${PATH_SEP}
        append CLASSPATH .
    }

Does an empty CLASSPATH have some special meaning?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de



More information about the Java-patches mailing list