Mercurial > hg > truffle
comparison src/share/vm/classfile/classFileParser.cpp @ 12823:ac9cb1d5a202
8009130: Lambda: Fix access controls, loader constraints.
Summary: New default methods list with inherited superinterface methods
Reviewed-by: minqi, sspitsyn, coleenp
author | acorn |
---|---|
date | Mon, 07 Oct 2013 12:20:28 -0400 |
parents | 268e7a2178d7 |
children | 1a93f2c5945a |
comparison
equal
deleted
inserted
replaced
12822:cc4f5f8d885e | 12823:ac9cb1d5a202 |
---|---|
4078 java_lang_Class::create_mirror(this_klass, protection_domain, CHECK_(nullHandle)); | 4078 java_lang_Class::create_mirror(this_klass, protection_domain, CHECK_(nullHandle)); |
4079 | 4079 |
4080 | 4080 |
4081 // Generate any default methods - default methods are interface methods | 4081 // Generate any default methods - default methods are interface methods |
4082 // that have a default implementation. This is new with Lambda project. | 4082 // that have a default implementation. This is new with Lambda project. |
4083 if (has_default_methods && !access_flags.is_interface() && | 4083 if (has_default_methods && !access_flags.is_interface() ) { |
4084 local_interfaces->length() > 0) { | |
4085 DefaultMethods::generate_default_methods( | 4084 DefaultMethods::generate_default_methods( |
4086 this_klass(), &all_mirandas, CHECK_(nullHandle)); | 4085 this_klass(), &all_mirandas, CHECK_(nullHandle)); |
4087 } | 4086 } |
4088 | 4087 |
4089 // Update the loader_data graph. | 4088 // Update the loader_data graph. |