--- a/langtools/src/share/classes/com/sun/tools/javah/LLNI.java Thu Jan 08 16:34:58 2009 -0800
+++ b/langtools/src/share/classes/com/sun/tools/javah/LLNI.java Tue Jan 13 13:27:14 2009 +0000
@@ -39,7 +39,7 @@
protected final char pathChar = File.separatorChar;
protected final char innerDelim = '$'; /* For inner classes */
- protected Hashtable doneHandleTypes;
+ protected Hashtable<Object, Object> doneHandleTypes;
MemberDoc []fields;
MemberDoc [] methods;
private boolean doubleAlign;
@@ -68,7 +68,7 @@
protected void generateDeclsForClass(PrintWriter pw,
ClassDoc clazz, String cname)
throws ClassNotFoundException {
- doneHandleTypes = new Hashtable();
+ doneHandleTypes = new Hashtable<Object, Object>();
/* The following handle types are predefined in "typedefs.h". Suppress
inclusion in the output by generating them "into the blue" here. */
genHandleType(null, "java.lang.Class");