Failed

org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test1386 - 10 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 17 builds (Since Failed#81 )
Took 0.73 sec.

Error Message

test1386 - Javac found error(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
X.java:5: error: IA is not public in p; cannot be accessed from outside package\n
  xt.get().baz();\n
        ^\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:5: error: IA is not public in p; cannot be accessed from outside package\n
  xt.get().baz();\n
        ^\n
1 error\n
]>

Stacktrace

junit.framework.ComparisonFailure: 
test1386 - Javac found error(s) but Eclipse did not find any.
----------- Expected ------------

------------ but was ------------
X.java:5: error: IA is not public in p; cannot be accessed from outside package\n
		xt.get().baz();\n
		      ^\n
1 error\n

--------- Difference is ----------
 expected:<[]> but was:<[X.java:5: error: IA is not public in p; cannot be accessed from outside package\n
		xt.get().baz();\n
		      ^\n
1 error\n
]>
	at org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test1386(GenericTypeTest.java:48647)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest#test1386 - 10
X.java [
public class X<T extends AA & p.IB> {
	T get() { return null; }
	
	void foo(X<T> xt) {
		xt.get().baz();
	}
}
class AA {
	void bar() {}
}

]
p/IB.java [
package p;
interface IA {
	void baz();
}
public interface IB extends IA {
}

]


Full results sent to /tmp/genie.jdt/comptest/run.1566705803129/10.0.1_20190825_000331.txt

Standard Error

--- javac err: ---
X.java:5: error: IA is not public in p; cannot be accessed from outside package
		xt.get().baz();
		      ^
1 error

----------------------------------------