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  <[EMAIL PROTECTED]>

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  <[EMAIL PROTECTED]>
 
+       * 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  <[EMAIL PROTECTED]>
+
+2005-06-27  Guilhem Lavaux  <[EMAIL PROTECTED]>
+
        * 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;

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to