langtools/test/tools/javac/warnings/6747671/T6747671.java
changeset 6351 84c44db80d06
parent 3766 7e2df99e9223
child 20240 1818352eef49
--- a/langtools/test/tools/javac/warnings/6747671/T6747671.java	Thu Aug 19 11:50:50 2010 +0100
+++ b/langtools/test/tools/javac/warnings/6747671/T6747671.java	Thu Aug 19 11:52:58 2010 +0100
@@ -27,8 +27,8 @@
     A<B>.Z<A<B>> z3;//raw warning (2)
 
     void test(Object arg1, B arg2) {//raw warning
-        boolean b = arg1 instanceof A;//raw warning
-        Object a = (A)arg1;//raw warning
+        boolean b = arg1 instanceof A;//ok
+        Object a = (A)arg1;//ok
         A a2 = new A() {};//raw warning (2)
         a2.new Z() {};//raw warning
     }