equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 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 |
26 package jdk.internal.reflect; |
26 package jdk.internal.reflect; |
27 |
27 |
28 import java.security.AccessController; |
28 import java.security.AccessController; |
29 import java.security.PrivilegedAction; |
29 import java.security.PrivilegedAction; |
30 |
30 |
31 import jdk.internal.misc.JavaLangAccess; |
31 import jdk.internal.access.JavaLangAccess; |
32 import jdk.internal.misc.SharedSecrets; |
32 import jdk.internal.access.SharedSecrets; |
33 |
33 |
34 /** Utility class which assists in calling defineClass() by |
34 /** Utility class which assists in calling defineClass() by |
35 creating a new class loader which delegates to the one needed in |
35 creating a new class loader which delegates to the one needed in |
36 order for proper resolution of the given bytecodes to occur. */ |
36 order for proper resolution of the given bytecodes to occur. */ |
37 |
37 |