< prev index next >

hotspot/test/runtime/SelectionResolution/InvokeInterfaceICCE.java

Print this page

        

*** 51,161 **** private static final Collection<TestGroup> testgroups = Arrays.asList( /* invokeinterface tests */ ! /* resolved method is static*/ ! /* Group 168: methodref = expected */ ! new TestGroup.Simple(initBuilder, ! Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), ! EnumSet.of(MethodData.Access.PUBLIC), ! EnumSet.of(MethodData.Context.STATIC), ! EnumSet.of(ClassData.Package.SAME, ! ClassData.Package.DIFFERENT)), ! Template.OverrideAbstractExpectedIface, ! Template.MethodrefEqualsExpected, ! Template.IgnoredAbstract, ! Template.AllCallsiteCases, ! Template.IfaceMethodrefSelection), ! /* Group 169: methodref != expected */ ! new TestGroup.Simple(initBuilder, ! Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), ! EnumSet.of(MethodData.Access.PUBLIC), ! EnumSet.of(MethodData.Context.STATIC), ! EnumSet.of(ClassData.Package.SAME, ! ClassData.Package.DIFFERENT)), ! Template.OverrideAbstractExpectedIface, ! Template.IfaceMethodrefNotEqualsExpected, ! Template.IgnoredAbstract, ! Template.AllCallsiteCases, ! Template.IfaceMethodrefSelection), ! /* methodref is a class */ ! /* Group 170: methodref = expected */ ! new TestGroup.Simple(initBuilder, ! Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! Template.ResultCombo(EnumSet.of(Template.Kind.CLASS), ! EnumSet.of(MethodData.Access.PUBLIC, ! MethodData.Access.PACKAGE, ! MethodData.Access.PROTECTED, ! MethodData.Access.PRIVATE), ! EnumSet.of(MethodData.Context.STATIC), ! EnumSet.of(ClassData.Package.SAME, ! ClassData.Package.DIFFERENT)), ! Template.OverrideAbstractExpectedClass, ! Template.MethodrefEqualsExpected, ! Template.IgnoredAbstract, ! Template.AllCallsiteCases, ! Template.MethodrefSelectionResolvedIsClass), ! /* Group 171: methodref != expected, expected is class */ ! new TestGroup.Simple(initBuilder, ! Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! Template.ResultCombo(EnumSet.of(Template.Kind.CLASS), ! EnumSet.of(MethodData.Access.PUBLIC, ! MethodData.Access.PACKAGE, ! MethodData.Access.PROTECTED, ! MethodData.Access.PRIVATE), ! EnumSet.of(MethodData.Context.STATIC), ! EnumSet.of(ClassData.Package.SAME, ! ClassData.Package.DIFFERENT)), ! Template.OverrideAbstractExpectedClass, ! Template.MethodrefNotEqualsExpectedClass, ! Template.IgnoredAbstract, ! Template.AllCallsiteCases, ! Template.MethodrefSelectionResolvedIsClass), ! /* Group 172: methodref != expected expected is interface */ ! new TestGroup.Simple(initBuilder, ! Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), ! EnumSet.of(MethodData.Access.PUBLIC, ! MethodData.Access.PRIVATE), ! EnumSet.of(MethodData.Context.STATIC), ! EnumSet.of(ClassData.Package.SAME, ! ClassData.Package.DIFFERENT)), ! Template.OverrideAbstractExpectedIface, ! Template.MethodrefNotEqualsExpectedIface, ! Template.IgnoredAbstract, ! Template.AllCallsiteCases, ! Template.MethodrefSelectionResolvedIsIface), ! /* Group 173: ambiguous resolution */ ! new TestGroup.Simple(initBuilder, ! Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), ! EnumSet.of(MethodData.Access.PUBLIC), ! EnumSet.of(MethodData.Context.INSTANCE), ! EnumSet.of(ClassData.Package.SAME, ! ClassData.Package.DIFFERENT)), ! Template.OverrideAbstractExpectedIface, ! Template.IfaceMethodrefAmbiguous, ! Template.IgnoredAbstract, ! Template.AllCallsiteCases, ! Template.IfaceMethodrefSelectionNoOverride), ! /* Group 174: ambiguous selection */ ! new TestGroup.Simple(initBuilder, ! Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), ! EnumSet.of(MethodData.Access.PUBLIC), ! EnumSet.of(MethodData.Context.INSTANCE), ! EnumSet.of(ClassData.Package.SAME, ! ClassData.Package.DIFFERENT)), ! Template.OverrideAbstractExpectedIface, ! Template.IfaceMethodrefNotEqualsExpected, ! Template.IgnoredAbstract, ! Template.AllCallsiteCases, ! Template.IfaceMethodrefAmbiguousResolvedIsIface), /* Group 175: private method in interface */ new TestGroup.Simple(initBuilder, Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), --- 51,161 ---- private static final Collection<TestGroup> testgroups = Arrays.asList( /* invokeinterface tests */ ! // /* resolved method is static*/ ! // /* Group 168: methodref = expected */ ! // new TestGroup.Simple(initBuilder, ! // Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! // Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), ! // EnumSet.of(MethodData.Access.PUBLIC), ! // EnumSet.of(MethodData.Context.STATIC), ! // EnumSet.of(ClassData.Package.SAME, ! // ClassData.Package.DIFFERENT)), ! // Template.OverrideAbstractExpectedIface, ! // Template.MethodrefEqualsExpected, ! // Template.IgnoredAbstract, ! // Template.AllCallsiteCases, ! // Template.IfaceMethodrefSelection), ! // /* Group 169: methodref != expected */ ! // new TestGroup.Simple(initBuilder, ! // Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! // Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), ! // EnumSet.of(MethodData.Access.PUBLIC), ! // EnumSet.of(MethodData.Context.STATIC), ! // EnumSet.of(ClassData.Package.SAME, ! // ClassData.Package.DIFFERENT)), ! // Template.OverrideAbstractExpectedIface, ! // Template.IfaceMethodrefNotEqualsExpected, ! // Template.IgnoredAbstract, ! // Template.AllCallsiteCases, ! // Template.IfaceMethodrefSelection), ! // /* methodref is a class */ ! // /* Group 170: methodref = expected */ ! // new TestGroup.Simple(initBuilder, ! // Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! // Template.ResultCombo(EnumSet.of(Template.Kind.CLASS), ! // EnumSet.of(MethodData.Access.PUBLIC, ! // MethodData.Access.PACKAGE, ! // MethodData.Access.PROTECTED, ! // MethodData.Access.PRIVATE), ! // EnumSet.of(MethodData.Context.STATIC), ! // EnumSet.of(ClassData.Package.SAME, ! // ClassData.Package.DIFFERENT)), ! // Template.OverrideAbstractExpectedClass, ! // Template.MethodrefEqualsExpected, ! // Template.IgnoredAbstract, ! // Template.AllCallsiteCases, ! // Template.MethodrefSelectionResolvedIsClass), ! // /* Group 171: methodref != expected, expected is class */ ! // new TestGroup.Simple(initBuilder, ! // Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! // Template.ResultCombo(EnumSet.of(Template.Kind.CLASS), ! // EnumSet.of(MethodData.Access.PUBLIC, ! // MethodData.Access.PACKAGE, ! // MethodData.Access.PROTECTED, ! // MethodData.Access.PRIVATE), ! // EnumSet.of(MethodData.Context.STATIC), ! // EnumSet.of(ClassData.Package.SAME, ! // ClassData.Package.DIFFERENT)), ! // Template.OverrideAbstractExpectedClass, ! // Template.MethodrefNotEqualsExpectedClass, ! // Template.IgnoredAbstract, ! // Template.AllCallsiteCases, ! // Template.MethodrefSelectionResolvedIsClass), ! // /* Group 172: methodref != expected expected is interface */ ! // new TestGroup.Simple(initBuilder, ! // Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! // Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), ! // EnumSet.of(MethodData.Access.PUBLIC, ! // MethodData.Access.PRIVATE), ! // EnumSet.of(MethodData.Context.STATIC), ! // EnumSet.of(ClassData.Package.SAME, ! // ClassData.Package.DIFFERENT)), ! // Template.OverrideAbstractExpectedIface, ! // Template.MethodrefNotEqualsExpectedIface, ! // Template.IgnoredAbstract, ! // Template.AllCallsiteCases, ! // Template.MethodrefSelectionResolvedIsIface), ! // /* Group 173: ambiguous resolution */ ! // new TestGroup.Simple(initBuilder, ! // Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! // Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), ! // EnumSet.of(MethodData.Access.PUBLIC), ! // EnumSet.of(MethodData.Context.INSTANCE), ! // EnumSet.of(ClassData.Package.SAME, ! // ClassData.Package.DIFFERENT)), ! // Template.OverrideAbstractExpectedIface, ! // Template.IfaceMethodrefAmbiguous, ! // Template.IgnoredAbstract, ! // Template.AllCallsiteCases, ! // Template.IfaceMethodrefSelectionNoOverride), ! // /* Group 174: ambiguous selection */ ! // new TestGroup.Simple(initBuilder, ! // Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), ! // Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE), ! // EnumSet.of(MethodData.Access.PUBLIC), ! // EnumSet.of(MethodData.Context.INSTANCE), ! // EnumSet.of(ClassData.Package.SAME, ! // ClassData.Package.DIFFERENT)), ! // Template.OverrideAbstractExpectedIface, ! // Template.IfaceMethodrefNotEqualsExpected, ! // Template.IgnoredAbstract, ! // Template.AllCallsiteCases, ! // Template.IfaceMethodrefAmbiguousResolvedIsIface), /* Group 175: private method in interface */ new TestGroup.Simple(initBuilder, Template.SetInvoke(SelectionResolutionTestCase.InvokeInstruction.INVOKEINTERFACE), Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE),
< prev index next >