1.1 --- a/src/share/vm/oops/constantPoolOop.cpp Tue Jan 24 14:48:22 2012 +0100 1.2 +++ b/src/share/vm/oops/constantPoolOop.cpp Mon Jan 30 12:36:49 2012 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2012, 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 @@ -269,7 +269,7 @@ 1.11 methodOop constantPoolOopDesc::method_at_if_loaded(constantPoolHandle cpool, 1.12 int which, Bytecodes::Code invoke_code) { 1.13 assert(!constantPoolCacheOopDesc::is_secondary_index(which), "no indy instruction here"); 1.14 - if (cpool->cache() == NULL) return false; // nothing to load yet 1.15 + if (cpool->cache() == NULL) return NULL; // nothing to load yet 1.16 int cache_index = which - CPCACHE_INDEX_TAG; 1.17 if (!(cache_index >= 0 && cache_index < cpool->cache()->length())) { 1.18 if (PrintMiscellaneous && (Verbose||WizardMode)) {