< prev index next >

make/jdk/src/classes/build/tools/classlist/HelloClasslist.java

Print this page

        

@@ -30,11 +30,10 @@
  * The classlist is produced by adding -XX:DumpLoadedClassList=classlist
  */
 package build.tools.classlist;
 
 import java.net.InetAddress;
-import java.nio.file.FileSystems;
 import java.time.LocalDateTime;
 import java.time.ZoneId;
 import java.time.format.DateTimeFormatter;
 import java.util.stream.Stream;
 import java.util.logging.*;

@@ -55,12 +54,10 @@
 
     private static final Logger LOGGER = Logger.getLogger("Hello");
 
     public static void main(String ... args) {
 
-        FileSystems.getDefault();
-
         List<String> strings = Arrays.asList("Hello", "World!", "From: ",
               InetAddress.getLoopbackAddress().toString());
 
         String helloWorld = strings.parallelStream()
               .map(s -> s.toLowerCase(Locale.ROOT))

@@ -85,11 +82,10 @@
         String IC     = args.length + "string";
         String CIC    = "string" + args.length + "string";
         String CICI   = "string" + args.length + "string" + args.length;
         String CJ     = "string" + System.currentTimeMillis();
         String JC     = System.currentTimeMillis() + "string";
-        String CD     = "string" + (args.length/2.0);
         String CJC    = "string" + System.currentTimeMillis() + "string";
         String CJCJ   = "string" + System.currentTimeMillis() + "string" + System.currentTimeMillis();
         String CJCJC  = "string" + System.currentTimeMillis() + "string" + System.currentTimeMillis() + "string";
 
         String newDate = DateTimeFormatter.ISO_LOCAL_DATE_TIME.format(
< prev index next >