langtools/test/tools/javac/processing/model/element/TestAnonClassNames.java
changeset 5320 e2aaa958b02d
parent 5012 405341b6e9c5
child 5520 86e4b9a9da40
--- a/langtools/test/tools/javac/processing/model/element/TestAnonClassNames.java	Fri Apr 09 15:39:39 2010 -0700
+++ b/langtools/test/tools/javac/processing/model/element/TestAnonClassNames.java	Wed Apr 14 12:23:29 2010 +0100
@@ -113,10 +113,10 @@
      */
     static void testClassName(String className) {
         JavaCompiler javaCompiler = ToolProvider.getSystemJavaCompiler();
-        List<String> classNames = new ArrayList<>();
+        List<String> classNames = new ArrayList<String>();
         classNames.add(className);
 
-        List<String> options = new ArrayList<>();
+        List<String> options = new ArrayList<String>();
         options.add("-proc:only");
         options.add("-classpath");
         options.add(System.getProperty("test.classes"));
@@ -128,7 +128,7 @@
                                  options,
                                  classNames,
                                  null); // Sources
-        List<Processor> processors = new ArrayList<>();
+        List<Processor> processors = new ArrayList<Processor>();
         processors.add(new ClassNameProber());
         compileTask.setProcessors(processors);
         Boolean goodResult = compileTask.call();