@@ -0,0 +1,546 @@
+package bugIdeas;%0A%0Aimport java.util.Hashtable;%0Aimport java.util.Properties;%0A%0Apublic class Ideas_2009_10_05 %7B%0A%09%0A%09public void propertiesCantContainNull(Properties p) %7B%0A%09%09p.put(%22a%22, null);%0A%09%09p.put(null, %22a%22);%0A%09%09p.get(null);%0A%09%09p.getProperty(null);%0A%09%09p.getProperty(null, %22foo%22);%0A%09%09p.setProperty(null, %22a%22);%0A%09%09p.setProperty(%22a%22, null);%0A%09%09%09%09%0A%09%7D%0A%09%0A%09public void hashtablesCantContainNull(Hashtable h) %7B%0A%09%09h.put(%22a%22, null);%0A%09%09h.put(null, %22a%22);%0A%09%09h.get(null);%0A%09%09h.contains(null);%0A%09%09h.containsKey(null);%0A%09%09h.containsValue(null);%0A%09%09h.remove(null);%0A%09%09%0A%09%09%0A%09%7D%0A%7D%0A

Check that we are doing the right thing for hashtable and properties nullness