hotspot/src/share/vm/classfile/classFileParser.cpp
changeset 20284 595a25ab9474
parent 20022 e6e3f5ff6d73
child 20300 fe4818444117
equal deleted inserted replaced
20283:ddf704c33210 20284:595a25ab9474
  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     }