Comment out an invalid test in TreeMapTest.

Review at http://gwt-code-reviews.appspot.com/1735805

Review by: skybrian@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11065 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/emultest/java/util/TreeMapTest.java b/user/test/com/google/gwt/emultest/java/util/TreeMapTest.java
index a722219..2a0b5bd 100644
--- a/user/test/com/google/gwt/emultest/java/util/TreeMapTest.java
+++ b/user/test/com/google/gwt/emultest/java/util/TreeMapTest.java
@@ -1513,6 +1513,11 @@
     // The _throwsUnsupportedOperationException version of this test will
     // verify that the method is not supported.
     if (isRemoveSupported) {
+      
+      // TODO(acleung): Post JDK7, map.put(null) will actually throw a NPE.
+      // Lets disable this for now. Once we no longer test on JDK6, we can
+      // add this back and always assert an NPE.
+      /*
       Map<K, V> map;
       map = createMap();
       // test remove null key with map containing a single null key
@@ -1523,6 +1528,7 @@
       } catch (NullPointerException e) {
         assertFalse(useNullKey());
       }
+      */
 
       map = createMap();
       // test remove null key with map containing a single non-null key