Fix buggy PriorityQueue test. .remove() is NOT specified to throw a ClassCastException when
provided an incorrect type. It simply returns false. Verified by testing with mode host in
Vogar.

Change-Id: Ia52395b18ca10e1ec436225f59f635dcb8d27164
diff --git a/luni/src/test/java/java/util/OldPriorityQueueTest.java b/luni/src/test/java/java/util/OldPriorityQueueTest.java
index f9ddec8..948a357 100644
--- a/luni/src/test/java/java/util/OldPriorityQueueTest.java
+++ b/luni/src/test/java/java/util/OldPriorityQueueTest.java
@@ -90,12 +90,7 @@
         PriorityQueue<Integer> integerQueue = new PriorityQueue<Integer>(list);
         assertFalse(integerQueue.remove(111));
         assertFalse(integerQueue.remove(null));
-        try {
-            integerQueue.remove("");
-            fail("should throw ClassCastException");
-        } catch (ClassCastException e) {
-            // expected
-        }
+        assertFalse(integerQueue.remove(""));
     }
 
     /**