equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2018, 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 |
41 import java.util.stream.Collectors; |
41 import java.util.stream.Collectors; |
42 |
42 |
43 import jdk.internal.loader.BootLoader; |
43 import jdk.internal.loader.BootLoader; |
44 import jdk.internal.loader.BuiltinClassLoader; |
44 import jdk.internal.loader.BuiltinClassLoader; |
45 import jdk.internal.loader.ClassLoaders; |
45 import jdk.internal.loader.ClassLoaders; |
46 import jdk.internal.misc.JavaLangAccess; |
46 import jdk.internal.access.JavaLangAccess; |
47 import jdk.internal.misc.SharedSecrets; |
47 import jdk.internal.access.SharedSecrets; |
48 |
48 |
49 /** |
49 /** |
50 * A helper class for creating and updating modules. This class is intended to |
50 * A helper class for creating and updating modules. This class is intended to |
51 * support command-line options, tests, and the instrumentation API. It is also |
51 * support command-line options, tests, and the instrumentation API. It is also |
52 * used by the VM to load modules or add read edges when agents are instrumenting |
52 * used by the VM to load modules or add read edges when agents are instrumenting |