Commit 191da376 by Tom Tromey Committed by Tom Tromey

Main.java (run): Use class' name in File case.

	* tools/gnu/classpath/tools/javah/Main.java (run): Use class'
	name in File case.

From-SVN: r123012
parent 94eb7e42
2007-03-16 Tom Tromey <tromey@redhat.com> 2007-03-16 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/Main.java (run): Use class'
name in File case.
2007-03-16 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/JniStubPrinter.java * tools/gnu/classpath/tools/javah/JniStubPrinter.java
(printClass): Added filename argument. (printClass): Added filename argument.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
...@@ -392,8 +392,8 @@ public class Main ...@@ -392,8 +392,8 @@ public class Main
// Load class from file. // Load class from file.
if (verbose) if (verbose)
System.err.println("[reading file " + item + "]"); System.err.println("[reading file " + item + "]");
filename = (File) item; klass = getClass((File) item);
klass = getClass(filename); filename = new File(klass.name);
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment