< prev index next >

test/runtime/modules/Visibility/XbootcpNoVisibility.java

Print this page

        

*** 48,58 **** "public class Vis3_A {" + " public static void main(String args[]) throws Exception {" + // Try loading a class within a named package in a module which has been defined // to the boot loader. In this situation, the class should only be attempted // to be loaded from the boot loader's module path which consists of: ! // [-Xpatch]; exploded build | "modules" jimage // // Since the class is located on the boot loader's append path via // -Xbootclasspath/a specification, it should not be found. " try {" + " sun.util.Vis3_B b = new sun.util.Vis3_B();" + --- 48,58 ---- "public class Vis3_A {" + " public static void main(String args[]) throws Exception {" + // Try loading a class within a named package in a module which has been defined // to the boot loader. In this situation, the class should only be attempted // to be loaded from the boot loader's module path which consists of: ! // [--patch-module]; exploded build | "modules" jimage // // Since the class is located on the boot loader's append path via // -Xbootclasspath/a specification, it should not be found. " try {" + " sun.util.Vis3_B b = new sun.util.Vis3_B();" +
< prev index next >