equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
30 * can read unnamed module even when class p1.c1 is loaded by |
30 * can read unnamed module even when class p1.c1 is loaded by |
31 * a different loader than p2.c2. |
31 * a different loader than p2.c2. |
32 * @compile myloaders/MyDiffClassLoader.java |
32 * @compile myloaders/MyDiffClassLoader.java |
33 * @compile p2/c2.java |
33 * @compile p2/c2.java |
34 * @compile p1/c1.java |
34 * @compile p1/c1.java |
35 * @build UmodDiffCL_Umod |
|
36 * @run main/othervm -Xbootclasspath/a:. UmodDiffCL_Umod |
35 * @run main/othervm -Xbootclasspath/a:. UmodDiffCL_Umod |
37 */ |
36 */ |
38 |
37 |
39 import myloaders.MyDiffClassLoader; |
38 import myloaders.MyDiffClassLoader; |
40 |
39 |