Searched refs:mostSpecific (Results 1 - 2 of 2) sorted by relevance

/openjdk7/langtools/test/tools/javac/generics/rawOverride/7062745/
H A DGenericOverrideTest.java222 int mostSpecific = 0;
230 mostSpecific = rt1.moreSpecificThan(rt2) ? 1 : 2;
243 if (mostSpecific != 0 && mostSpecific2 != mostSpecific) {
244 errorExpected = mostSpecific == 1 ? ta1 != TypeArgumentKind.NONE : ta2 != TypeArgumentKind.NONE;
246 mostSpecific = mostSpecific2;
249 } else if (mostSpecific == 0) {
252 mostSpecific = 2;
258 ReturnTypeKind msrt = mostSpecific == 1 ? rt1 : rt2;
259 TypeArgumentKind msta = mostSpecific
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DResolve.java710 : mostSpecific(sym, bestSoFar, env, site,
724 Symbol mostSpecific(Symbol m1, method in class:Resolve
778 Symbol mostSpecific = mst == mt1 ? m1 : m2;
780 Type newSig = types.createMethodTypeWithThrown(mostSpecific.type, allThrown);
782 mostSpecific.flags(),
783 mostSpecific.name,
785 mostSpecific.owner) {
801 Symbol err1 = mostSpecific(m1, e.sym, env, site, allowBoxing, useVarargs);
802 Symbol err2 = mostSpecific(m1, e.sym2, env, site, allowBoxing, useVarargs);

Completed in 37 milliseconds