I'm checking this in.
This fixes a buglet I noticed with java --verbose.
Tom
2006-10-13 Tom Tromey <[EMAIL PROTECTED]>
* tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
method.
Index: tools/gnu/classpath/tools/javah/ClassWrapper.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/tools/gnu/classpath/tools/javah/ClassWrapper.java,v
retrieving revision 1.1
diff -u -r1.1 ClassWrapper.java
--- tools/gnu/classpath/tools/javah/ClassWrapper.java 28 Jul 2006 15:22:29
-0000 1.1
+++ tools/gnu/classpath/tools/javah/ClassWrapper.java 13 Oct 2006 21:46:00
-0000
@@ -338,4 +338,9 @@
out.println();
out.println("#endif // " + xname);
}
+
+ public String toString()
+ {
+ return name;
+ }
}