[patch] testsuite jar.exp

Andreas Tobler toa@pop.agri.ch
Sat Nov 15 14:41:00 GMT 2003


Hi,

since the libjava.jar got introduced the follwing jni tests fail due to 
the fact that the CLASSPATH also contains the path to the libjava.jar 
testfiles.

The following files die with the following message:

couldn't compile 
/Volumes/xufs/gcc-cvs-dylib/gcc/libjava/testsuite/libjava.jni/virtual.java: 
/Volumes/xufs/gcc-cvs-dylib/gcc/libjava/testsuite/libjava.jni/virtual.java:0: 
error: malformed .zip archive in CLASSPATH: 
/Volumes/xufs/gcc-cvs-dylib/gcc/libjava/testsuite/libjava.jar/

So I tried to reset the CLASSPATH to "" and it helped. The CLASSPATH is 
set again if used.

In the same turn I added a cleanup routine snippet to remove the 
produced *.jar stuff in the testsuite directory.

Ok for mainline?

Tested on darwin ppc. Solaris will follow and the others too.

Andreas

2003-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
	
	* libjava.jar/jar.exp: Cleanup files and reset CLASSPATH.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jar.diff
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20031115/24ae7c70/attachment.ksh>


More information about the Java-patches mailing list