This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix Jacks testsuite invocation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]