src/java.base/share/native/libverify/check_code.c
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/java.base/share/native/libverify/check_code.c	Wed Jul 22 11:45:04 2015
--- new/src/java.base/share/native/libverify/check_code.c	Wed Jul 22 11:45:02 2015

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 1994, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 2401,2411 **** --- 2401,2410 ---- if (target_type != init_type) { CCerror(context, "Call to wrong initialization method"); } if (this_idata->protected && context->major_version > LDC_CLASS_MAJOR_VERSION && !isAssignableTo(context, object_type, context->currentclass_info)) { CCerror(context, "Bad access to protected data"); } } else {

src/java.base/share/native/libverify/check_code.c
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File