diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-17 05:00:07 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-17 05:00:07 +0000 |
commit | 2c9f7a46adf94991f2b8371c217c67d4316d9778 (patch) | |
tree | 8f67ed316ed7925e7a01f587f5f506841126a614 /libjava/classpath | |
parent | f07deec711056ab8768ade5fb35f8e6607ca8ef9 (diff) | |
download | ppe42-gcc-2c9f7a46adf94991f2b8371c217c67d4316d9778.tar.gz ppe42-gcc-2c9f7a46adf94991f2b8371c217c67d4316d9778.zip |
* tools/gnu/classpath/tools/javah/Main.java (run): Use class'
name in File case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath')
-rw-r--r-- | libjava/classpath/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main.class | bin | 10929 -> 10939 bytes | |||
-rw-r--r-- | libjava/classpath/tools/gnu/classpath/tools/javah/Main.java | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog index 0f68f919452..120747cca6e 100644 --- a/libjava/classpath/ChangeLog +++ b/libjava/classpath/ChangeLog @@ -1,5 +1,10 @@ 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 diff --git a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main.class b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main.class Binary files differindex 66c37937fa3..56c7f488a24 100644 --- a/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main.class +++ b/libjava/classpath/tools/classes/gnu/classpath/tools/javah/Main.class diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/Main.java b/libjava/classpath/tools/gnu/classpath/tools/javah/Main.java index 250844d1d88..dfa04c4c9ef 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/Main.java +++ b/libjava/classpath/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 { |