I'm checking this in everywhere.

Tom F. pointed out a bug I introduced with my last gcjh change.
Sorry about that.  Here's the fix.

Tom

Index: classpath/ChangeLog
from  Tom Tromey  <[EMAIL PROTECTED]>
        * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
        name in File case.

Index: classpath/tools/gnu/classpath/tools/javah/Main.java
===================================================================
--- classpath/tools/gnu/classpath/tools/javah/Main.java (revision 123000)
+++ classpath/tools/gnu/classpath/tools/javah/Main.java (working copy)
@@ -392,8 +392,8 @@
             // Load class from file.
             if (verbose)
               System.err.println("[reading file " + item + "]");
-           filename = (File) item;
-            klass = getClass(filename);
+            klass = getClass((File) item);
+           filename = new File(klass.name);
           }
         else
           {

Reply via email to