< prev index next >

test/hotspot/jtreg/gc/nvdimm/TestYoungObjectsOnDram.java

8217332: JTREG: Clean up, use generics instead of raw types
 
     public static final int ALLOCATION_SIZE = 100;
     private static ArrayList<String> testOpts;
 
     public static void main(String args[]) throws Exception {
-        testOpts = new ArrayList();
+        testOpts = new ArrayList<>();
 
         String[] common_options = new String[] {
             "-Xbootclasspath/a:.",
             "-XX:+UnlockExperimentalVMOptions",
             "-XX:+UnlockDiagnosticVMOptions",
    
< prev index next >