< prev index next >

test/hotspot/jtreg/runtime/SelectionResolution/InvokeInterfaceSuccessTest.java

Print this page




 118                         Template.OverrideAbstractExpectedIface,
 119                         Template.MethodrefEqualsExpected,
 120                         Template.IgnoredAbstract,
 121                         Template.CallsiteUnrelatedToMethodref,
 122                         Template.IfaceMethodrefSelection,
 123                         Template.SelectionOverrideAbstract),
 124                 /* Group 45: callsite unrelated to methodref, methodref != expected */
 125                 new TestGroup.Simple(initBuilder,
 126                         Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE),
 127                                              EnumSet.of(MethodData.Access.PUBLIC),
 128                                              EnumSet.of(MethodData.Context.INSTANCE,
 129                                                         MethodData.Context.ABSTRACT),
 130                                              EnumSet.of(ClassData.Package.SAME,
 131                                                         ClassData.Package.DIFFERENT)),
 132                         Template.OverrideAbstractExpectedIface,
 133                         Template.IfaceMethodrefNotEqualsExpected,
 134                         Template.IgnoredAbstract,
 135                         Template.CallsiteUnrelatedToMethodref,
 136                         Template.IfaceMethodrefSelection,
 137                         Template.SelectionOverrideAbstract)














 138             );
 139 
 140     private InvokeInterfaceSuccessTest() {
 141         super(testgroups);
 142     }
 143 
 144     public static void main(final String... args) {
 145         new InvokeInterfaceSuccessTest().run();
 146     }
 147 }


 118                         Template.OverrideAbstractExpectedIface,
 119                         Template.MethodrefEqualsExpected,
 120                         Template.IgnoredAbstract,
 121                         Template.CallsiteUnrelatedToMethodref,
 122                         Template.IfaceMethodrefSelection,
 123                         Template.SelectionOverrideAbstract),
 124                 /* Group 45: callsite unrelated to methodref, methodref != expected */
 125                 new TestGroup.Simple(initBuilder,
 126                         Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE),
 127                                              EnumSet.of(MethodData.Access.PUBLIC),
 128                                              EnumSet.of(MethodData.Context.INSTANCE,
 129                                                         MethodData.Context.ABSTRACT),
 130                                              EnumSet.of(ClassData.Package.SAME,
 131                                                         ClassData.Package.DIFFERENT)),
 132                         Template.OverrideAbstractExpectedIface,
 133                         Template.IfaceMethodrefNotEqualsExpected,
 134                         Template.IgnoredAbstract,
 135                         Template.CallsiteUnrelatedToMethodref,
 136                         Template.IfaceMethodrefSelection,
 137                         Template.SelectionOverrideAbstract)
 138                 /*,
 139                 // Group 175: private method in interface [was ICCE case up to JDK 10]
 140                 // Can't get this to work for some reason.
 141                 new TestGroup.Simple(initBuilder,
 142                         Template.ResultCombo(EnumSet.of(Template.Kind.INTERFACE),
 143                                              EnumSet.of(MethodData.Access.PRIVATE),
 144                                              EnumSet.of(MethodData.Context.INSTANCE),
 145                                              EnumSet.of(ClassData.Package.SAME)),
 146                         Template.OverrideAbstractExpectedIface,
 147                         Template.MethodrefEqualsExpected,
 148                         Template.IgnoredAbstract,
 149                         Template.CallsiteEqualsMethodref,
 150                         Template.IfaceMethodrefSelection)
 151                 */
 152             );
 153 
 154     private InvokeInterfaceSuccessTest() {
 155         super(testgroups);
 156     }
 157 
 158     public static void main(final String... args) {
 159         new InvokeInterfaceSuccessTest().run();
 160     }
 161 }
< prev index next >