src/share/vm/classfile/verificationType.hpp

changeset 9507
7e72702243a4
parent 6830
54bc75c144b0
child 9572
624a0741915c
equal deleted inserted replaced
9499:778ff2150570 9507:7e72702243a4
1 /* 1 /*
2 * Copyright (c) 2003, 2014, 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.
287 return from.is_integer(); 287 return from.is_integer();
288 default: 288 default:
289 if (is_reference() && from.is_reference()) { 289 if (is_reference() && from.is_reference()) {
290 return is_reference_assignable_from(from, context, 290 return is_reference_assignable_from(from, context,
291 from_field_is_protected, 291 from_field_is_protected,
292 CHECK_false); 292 THREAD);
293 } else { 293 } else {
294 return false; 294 return false;
295 } 295 }
296 } 296 }
297 } 297 }

mercurial