diff src/share/vm/classfile/classFileParser.cpp @ 12924:1a93f2c5945a

Merge
author lana
date Thu, 17 Oct 2013 14:20:57 -0700
parents 8321dcc18438 ac9cb1d5a202
children fce21ac5968d 6795fcebbf42
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileParser.cpp	Sun Oct 13 21:14:04 2013 +0100
+++ b/src/share/vm/classfile/classFileParser.cpp	Thu Oct 17 14:20:57 2013 -0700
@@ -4080,8 +4080,7 @@
 
     // Generate any default methods - default methods are interface methods
     // that have a default implementation.  This is new with Lambda project.
-    if (has_default_methods && !access_flags.is_interface() &&
-        local_interfaces->length() > 0) {
+    if (has_default_methods && !access_flags.is_interface() ) {
       DefaultMethods::generate_default_methods(
           this_klass(), &all_mirandas, CHECK_(nullHandle));
     }