src/share/vm/classfile/defaultMethods.cpp

changeset 9507
7e72702243a4
parent 8368
32b682649973
child 9572
624a0741915c
equal deleted inserted replaced
9499:778ff2150570 9507:7e72702243a4
1 /* 1 /*
2 * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
491 } 491 }
492 #endif // ndef PRODUCT 492 #endif // ndef PRODUCT
493 }; 493 };
494 494
495 Symbol* MethodFamily::generate_no_defaults_message(TRAPS) const { 495 Symbol* MethodFamily::generate_no_defaults_message(TRAPS) const {
496 return SymbolTable::new_symbol("No qualifying defaults found", CHECK_NULL); 496 return SymbolTable::new_symbol("No qualifying defaults found", THREAD);
497 } 497 }
498 498
499 Symbol* MethodFamily::generate_method_message(Symbol *klass_name, Method* method, TRAPS) const { 499 Symbol* MethodFamily::generate_method_message(Symbol *klass_name, Method* method, TRAPS) const {
500 stringStream ss; 500 stringStream ss;
501 ss.print("Method "); 501 ss.print("Method ");

mercurial