Loading interface with only one method inherited from Object as not functional.

#KT-1242 fixed
This commit is contained in:
Evgeny Gerashchenko
2013-03-16 01:30:24 +04:00
parent e6c047b2e0
commit 45d638cc51
4 changed files with 40 additions and 0 deletions
@@ -1135,6 +1135,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
doTestCompiledJava("compiler/testData/loadJava/compiledJava/singleAbstractMethod/FilenameFilter.java");
}
@TestMetadata("InterfaceWithObjectMethod.java")
public void testInterfaceWithObjectMethod() throws Exception {
doTestCompiledJava("compiler/testData/loadJava/compiledJava/singleAbstractMethod/InterfaceWithObjectMethod.java");
}
@TestMetadata("Runnable.java")
public void testRunnable() throws Exception {
doTestCompiledJava("compiler/testData/loadJava/compiledJava/singleAbstractMethod/Runnable.java");