diff options
author | Tom Tromey <tromey@redhat.com> | 2007-03-17 05:01:56 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2007-03-17 05:01:56 +0000 |
commit | 000aeba1cf8553d8f021f1638f66bf1f846f4b17 (patch) | |
tree | 2ae13f753ffa3159517922ad64dcb97c448adc94 | |
parent | b14bc9d0c45c163ee2ed80c53f695ce3e747029d (diff) | |
download | classpath-000aeba1cf8553d8f021f1638f66bf1f846f4b17.tar.gz |
* tools/gnu/classpath/tools/javah/Main.java (run): Use class'
name in File case.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tools/gnu/classpath/tools/javah/Main.java | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +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 Thomas Fitzsimmons <fitzsim@redhat.com> * resource/com/sun/tools/javac/messages.properties diff --git a/tools/gnu/classpath/tools/javah/Main.java b/tools/gnu/classpath/tools/javah/Main.java index 250844d1d..dfa04c4c9 100644 --- a/tools/gnu/classpath/tools/javah/Main.java +++ b/tools/gnu/classpath/tools/javah/Main.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 { |