1.1 --- a/src/share/vm/ci/ciKlass.hpp Tue Jan 05 13:05:58 2010 +0100 1.2 +++ b/src/share/vm/ci/ciKlass.hpp Tue Jan 05 15:21:25 2010 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved. 1.6 + * Copyright 1999-2009 Sun Microsystems, Inc. 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 @@ -69,7 +69,7 @@ 1.11 ciKlass(KlassHandle k_h); 1.12 1.13 // What is the name of this klass? 1.14 - ciSymbol* name() { return _name; } 1.15 + ciSymbol* name() const { return _name; } 1.16 1.17 // What is its layout helper value? 1.18 jint layout_helper() { return _layout_helper; }