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>
* 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
(printClass): Added filename argument.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java
......@@ -392,8 +392,8 @@ public class Main
// 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
{
......
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