< prev index next >

test/hotspot/jtreg/vmTestbase/gc/g1/unloading/bytecode/DefaultTemplateClass.java

Print this page
rev 59093 : imported patch randomness-code_vmTestbase_unloading

*** 28,38 **** * This is template class. Loaded classes will derive from it. */ public class DefaultTemplateClass { public static void main() { ! System.out.println("In method of generated class. Random.nextDouble = " + new Random().nextDouble()); System.out.println(" Printing bytesToReplace0 bytesToReplace2"); } public static long field; --- 28,38 ---- * This is template class. Loaded classes will derive from it. */ public class DefaultTemplateClass { public static void main() { ! System.out.println("In method of generated class. Random.nextDouble = " + new Random(42).nextDouble()); System.out.println(" Printing bytesToReplace0 bytesToReplace2"); } public static long field;
< prev index next >