1 /* |
1 /* |
2 * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2003-2009 Sun Microsystems, Inc. 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. |
7 * published by the Free Software Foundation. |
58 |
58 |
59 // Check class loader constraints |
59 // Check class loader constraints |
60 bool add_entry(symbolHandle name, klassOop klass1, Handle loader1, |
60 bool add_entry(symbolHandle name, klassOop klass1, Handle loader1, |
61 klassOop klass2, Handle loader2); |
61 klassOop klass2, Handle loader2); |
62 |
62 |
63 void check_signature_loaders(symbolHandle signature, Handle loader1, |
63 // Note: The main entry point for this module is via SystemDictionary. |
64 Handle loader2, bool is_method, TRAPS); |
64 // SystemDictionary::check_signature_loaders(symbolHandle signature, |
|
65 // Handle loader1, Handle loader2, |
|
66 // bool is_method, TRAPS) |
65 |
67 |
66 klassOop find_constrained_klass(symbolHandle name, Handle loader); |
68 klassOop find_constrained_klass(symbolHandle name, Handle loader); |
67 klassOop find_constrained_elem_klass(symbolHandle name, symbolHandle elem_name, |
69 klassOop find_constrained_elem_klass(symbolHandle name, symbolHandle elem_name, |
68 Handle loader, TRAPS); |
70 Handle loader, TRAPS); |
69 |
71 |