src/share/classes/com/sun/tools/javah/LLNI.java

changeset 184
905e151a185a
parent 1
9a66ca7c79fa
child 416
c287d51c57da
     1.1 --- a/src/share/classes/com/sun/tools/javah/LLNI.java	Thu Jan 08 16:34:58 2009 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/javah/LLNI.java	Tue Jan 13 13:27:14 2009 +0000
     1.3 @@ -39,7 +39,7 @@
     1.4  
     1.5      protected final char  pathChar = File.separatorChar;
     1.6      protected final char  innerDelim = '$';     /* For inner classes */
     1.7 -    protected Hashtable   doneHandleTypes;
     1.8 +    protected Hashtable<Object, Object>   doneHandleTypes;
     1.9      MemberDoc []fields;
    1.10      MemberDoc [] methods;
    1.11      private boolean       doubleAlign;
    1.12 @@ -68,7 +68,7 @@
    1.13      protected void generateDeclsForClass(PrintWriter pw,
    1.14                                           ClassDoc clazz, String cname)
    1.15          throws ClassNotFoundException {
    1.16 -        doneHandleTypes  = new Hashtable();
    1.17 +        doneHandleTypes  = new Hashtable<Object, Object>();
    1.18          /* The following handle types are predefined in "typedefs.h". Suppress
    1.19             inclusion in the output by generating them "into the blue" here. */
    1.20          genHandleType(null, "java.lang.Class");

mercurial