aboutsummaryrefslogtreecommitdiffstats
path: root/guava-tests/test/com/google/common/collect/AbstractMultisetTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'guava-tests/test/com/google/common/collect/AbstractMultisetTest.java')
-rw-r--r--guava-tests/test/com/google/common/collect/AbstractMultisetTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/guava-tests/test/com/google/common/collect/AbstractMultisetTest.java b/guava-tests/test/com/google/common/collect/AbstractMultisetTest.java
index 3ca8175..af50029 100644
--- a/guava-tests/test/com/google/common/collect/AbstractMultisetTest.java
+++ b/guava-tests/test/com/google/common/collect/AbstractMultisetTest.java
@@ -69,6 +69,15 @@ public abstract class AbstractMultisetTest extends AbstractCollectionTest {
assertSize();
}
+ /**
+ * Don't run {@code NullPointerTester} on multisets, since they fail with
+ * Java 6 due to a bug in the JDK, as illustrated in the commented out
+ * method {@code HashMultisetTest#testAnnotations()}.
+ */
+ // TODO: Figure out if this is still true...
+ @GwtIncompatible("NullPointerTester")
+ @Override public void testNullPointerExceptions() throws Exception {}
+
public void testCountZero() {
assertEquals(0, ms.count("a"));
assertSize();