1.1 --- a/test/tools/javac/6341866/T6341866.java Mon Nov 29 10:09:48 2010 -0800 1.2 +++ b/test/tools/javac/6341866/T6341866.java Mon Nov 29 14:15:36 2010 -0800 1.3 @@ -97,7 +97,7 @@ 1.4 processorServices.delete(); 1.5 1.6 List<String> opts = new ArrayList<String>(); 1.7 - opts.addAll(Arrays.asList("-d", ".", "-sourcepath", testSrc, "-classpath", testClasses, "-source", "1.6")); 1.8 + opts.addAll(Arrays.asList("-d", ".", "-sourcepath", testSrc, "-classpath", testClasses, "-source", "1.6", "-Xlint:-options")); 1.9 if (implicitType.opt != null) 1.10 opts.add(implicitType.opt); 1.11