1.1 --- a/src/share/vm/utilities/accessFlags.cpp Tue Feb 05 00:59:40 2013 -0800 1.2 +++ b/src/share/vm/utilities/accessFlags.cpp Wed Feb 06 14:31:37 2013 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, 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 @@ -59,7 +59,7 @@ 1.11 } while(f != old_flags); 1.12 } 1.13 1.14 -#ifndef PRODUCT 1.15 +#if !defined(PRODUCT) || INCLUDE_JVMTI 1.16 1.17 void AccessFlags::print_on(outputStream* st) const { 1.18 if (is_public ()) st->print("public " ); 1.19 @@ -80,7 +80,7 @@ 1.20 if (on_stack ()) st->print("{on_stack} " ); 1.21 } 1.22 1.23 -#endif 1.24 +#endif // !PRODUCT || INCLUDE_JVMTI 1.25 1.26 void accessFlags_init() { 1.27 assert(sizeof(AccessFlags) == sizeof(jint), "just checking size of flags");