1 /* |
1 /* |
2 * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 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. |
7 * published by the Free Software Foundation. |
97 } else if (is_array() && from.is_array()) { |
97 } else if (is_array() && from.is_array()) { |
98 VerificationType comp_this = get_component(context, CHECK_false); |
98 VerificationType comp_this = get_component(context, CHECK_false); |
99 VerificationType comp_from = from.get_component(context, CHECK_false); |
99 VerificationType comp_from = from.get_component(context, CHECK_false); |
100 if (!comp_this.is_bogus() && !comp_from.is_bogus()) { |
100 if (!comp_this.is_bogus() && !comp_from.is_bogus()) { |
101 return comp_this.is_assignable_from(comp_from, context, |
101 return comp_this.is_assignable_from(comp_from, context, |
102 from_field_is_protected, CHECK_false); |
102 from_field_is_protected, THREAD); |
103 } |
103 } |
104 } |
104 } |
105 return false; |
105 return false; |
106 } |
106 } |
107 |
107 |