< prev index next >

src/hotspot/share/utilities/accessFlags.cpp

Print this page
rev 49011 : 8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors.
Reviewed-by: coleenp, dholmes

@@ -45,13 +45,10 @@
     new_flags = old_flags & ~bits;
     f = Atomic::cmpxchg(new_flags, &_flags, old_flags);
   } while(f != old_flags);
 }
 
-
-#if !defined(PRODUCT) || INCLUDE_JVMTI
-
 void AccessFlags::print_on(outputStream* st) const {
   if (is_public      ()) st->print("public "      );
   if (is_private     ()) st->print("private "     );
   if (is_protected   ()) st->print("protected "   );
   if (is_static      ()) st->print("static "      );

@@ -67,10 +64,8 @@
   if (is_old         ()) st->print("{old} "       );
   if (is_obsolete    ()) st->print("{obsolete} "  );
   if (on_stack       ()) st->print("{on_stack} "  );
 }
 
-#endif // !PRODUCT || INCLUDE_JVMTI
-
 void accessFlags_init() {
   assert(sizeof(AccessFlags) == sizeof(jint), "just checking size of flags");
 }
< prev index next >