[kaffe] CVS kaffe (guilhem): Fixlet for Classpath/Javap.

Kaffe CVS cvs-commits at kaffe.org
Mon Jun 27 02:16:12 PDT 2005


PatchSet 6666 
Date: 2005/06/27 09:11:02
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixlet for Classpath/Javap.

        * libraries/javalib/gnu/classpath/tools/Util.java
        (Util): Really search the default classpath if no class is found in
        the current directory.

        Reported by:  Daniel Bonniot  <bonniot at users.sourceforge.net>

Members: 
	ChangeLog:1.4191->1.4192 
	libraries/javalib/gnu/classpath/tools/Util.java:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4191 kaffe/ChangeLog:1.4192
--- kaffe/ChangeLog:1.4191	Mon Jun 27 07:27:19 2005
+++ kaffe/ChangeLog	Mon Jun 27 09:11:02 2005
@@ -1,5 +1,13 @@
 2005-06-27  Guilhem Lavaux  <guilhem at kaffe.org>
 
+	* libraries/javalib/gnu/classpath/tools/Util.java
+	(Util): Really search the default classpath if no class is found in
+	the current directory.
+
+	Reported by:  Daniel Bonniot  <bonniot at users.sourceforge.net>
+
+2005-06-27  Guilhem Lavaux  <guilhem at kaffe.org>
+
 	* config/m68k/linux/md.h
 	(sysdepCallMethod): Inlined function instead of a macro. Fixed the
 	return of a float.
Index: kaffe/libraries/javalib/gnu/classpath/tools/Util.java
diff -u kaffe/libraries/javalib/gnu/classpath/tools/Util.java:1.1 kaffe/libraries/javalib/gnu/classpath/tools/Util.java:1.2
--- kaffe/libraries/javalib/gnu/classpath/tools/Util.java:1.1	Thu Mar  3 18:55:57 2005
+++ kaffe/libraries/javalib/gnu/classpath/tools/Util.java	Mon Jun 27 09:11:05 2005
@@ -63,6 +63,11 @@
     else
       {
         is = findFile(filename);
+        if (is == null)
+	  {
+	    String path = getSearchPath();
+            is = findClass(filename, path);
+	  }
       }
     if (is != null)
       return is;



More information about the kaffe mailing list