1.1 --- a/src/share/vm/oops/cpCache.hpp Wed Jun 11 10:46:47 2014 +0200 1.2 +++ b/src/share/vm/oops/cpCache.hpp Mon Jun 02 14:32:29 2014 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -346,8 +346,8 @@ 1.11 bool is_final() const { return (_flags & (1 << is_final_shift)) != 0; } 1.12 bool is_forced_virtual() const { return (_flags & (1 << is_forced_virtual_shift)) != 0; } 1.13 bool is_vfinal() const { return (_flags & (1 << is_vfinal_shift)) != 0; } 1.14 - bool has_appendix() const { return (_flags & (1 << has_appendix_shift)) != 0; } 1.15 - bool has_method_type() const { return (_flags & (1 << has_method_type_shift)) != 0; } 1.16 + bool has_appendix() const { return (!is_f1_null()) && (_flags & (1 << has_appendix_shift)) != 0; } 1.17 + bool has_method_type() const { return (!is_f1_null()) && (_flags & (1 << has_method_type_shift)) != 0; } 1.18 bool is_method_entry() const { return (_flags & (1 << is_field_entry_shift)) == 0; } 1.19 bool is_field_entry() const { return (_flags & (1 << is_field_entry_shift)) != 0; } 1.20 bool is_byte() const { return flag_state() == btos; }