src/share/vm/classfile/classFileParser.cpp

changeset 5786
36b97be47bde
parent 5737
da051ce490eb
child 5802
268e7a2178d7
equal deleted inserted replaced
5785:a5ac0873476c 5786:36b97be47bde
2543 CHECK_NULL); 2543 CHECK_NULL);
2544 2544
2545 if (method->is_final()) { 2545 if (method->is_final()) {
2546 *has_final_method = true; 2546 *has_final_method = true;
2547 } 2547 }
2548 if (is_interface && !method->is_abstract() && !method->is_static()) { 2548 if (is_interface && !(*has_default_methods)
2549 && !method->is_abstract() && !method->is_static()
2550 && !method->is_private()) {
2549 // default method 2551 // default method
2550 *has_default_methods = true; 2552 *has_default_methods = true;
2551 } 2553 }
2552 _methods->at_put(index, method()); 2554 _methods->at_put(index, method());
2553 } 2555 }

mercurial