* Patch: FYI: fix gcjh goof
@ 2007-03-17 4:59 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2007-03-17 4:59 UTC (permalink / raw)
To: GCJ-patches; +Cc: GNU Classpath Patches
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 <tromey@redhat.com>
* 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
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-17 4:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-17 4:59 Patch: FYI: fix gcjh goof Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).