< prev index next >

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

8217332: JTREG: Clean up, use generics instead of raw types
 import java.util.ArrayList;
 import java.util.Collections;
 
 public class TestAllocateOldGenAtMultiple {
   public static void main(String args[]) throws Exception {
-    ArrayList<String> vmOpts = new ArrayList();
+    ArrayList<String> vmOpts = new ArrayList<>();
     String[] testVmOpts = null;
 
     String test_dir = System.getProperty("test.dir", ".");
 
     String testVmOptsStr = System.getProperty("test.java.opts");
    
< prev index next >