comparison src/share/vm/classfile/systemDictionary.cpp @ 17937:78bbf4d43a14

8037816: Fix for 8036122 breaks build with Xcode5/clang 8043029: Change 8037816 breaks HS build with older GCC versions which don't support diagnostic pragmas 8043164: Format warning in traceStream.hpp Summary: Backport of main fix + two corrections, enables clang compilation, turns on format attributes, corrects/mutes warnings Reviewed-by: kvn, coleenp, iveresov, twisti
author drchase
date Thu, 22 May 2014 15:52:41 -0400
parents 9428a0b94204
children ae92351815b6
comparison
equal deleted inserted replaced
17935:7384f6a12fc1 17937:78bbf4d43a14
2266 if (vmtarget != NULL && vmtarget->is_method()) { 2266 if (vmtarget != NULL && vmtarget->is_method()) {
2267 Method* m = (Method*)vmtarget; 2267 Method* m = (Method*)vmtarget;
2268 oop appendix = appendix_box->obj_at(0); 2268 oop appendix = appendix_box->obj_at(0);
2269 if (TraceMethodHandles) { 2269 if (TraceMethodHandles) {
2270 #ifndef PRODUCT 2270 #ifndef PRODUCT
2271 tty->print("Linked method="INTPTR_FORMAT": ", m); 2271 tty->print("Linked method=" INTPTR_FORMAT ": ", p2i(m));
2272 m->print(); 2272 m->print();
2273 if (appendix != NULL) { tty->print("appendix = "); appendix->print(); } 2273 if (appendix != NULL) { tty->print("appendix = "); appendix->print(); }
2274 tty->cr(); 2274 tty->cr();
2275 #endif //PRODUCT 2275 #endif //PRODUCT
2276 } 2276 }