Mercurial > hg > truffle
comparison src/share/vm/classfile/classFileParser.cpp @ 12318:36b97be47bde
8011311: Private interface methods. Default conflicts:ICCE. no erased_super_default.
Reviewed-by: coleenp, bharadwaj, minqi
author | acorn |
---|---|
date | Tue, 01 Oct 2013 08:10:42 -0400 |
parents | da051ce490eb |
children | 268e7a2178d7 |
comparison
equal
deleted
inserted
replaced
12317:a5ac0873476c | 12318: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 } |