< prev index next >

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

Print this page

        

*** 30,40 **** * 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.*; --- 30,39 ----
*** 55,66 **** 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)) --- 54,63 ----
*** 85,95 **** 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( --- 82,91 ----
< prev index next >