src/share/classes/javax/sql/rowset/serial/SerialRef.java

Print this page

        

@@ -107,11 +107,11 @@
      *        resolution
      */
     public Object getObject(java.util.Map<String,Class<?>> map)
         throws SerialException
     {
-        map = new Hashtable(map);
+        map = new Hashtable<String,Class<?>>(map);
         if (object != null) {
             return map.get(object);
         } else {
             throw new SerialException("The object is not set");
         }