Failed

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

Failing for the past 15 builds (Since #81 )
Took 0.77 sec.

Error Message

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

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

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

Stacktrace

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

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

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

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest#test1381 - 10
X.java [
public class X<T extends AA & p.IB> {
	T t;
	void foo() {
		this.t.baz();
	}
	public static void main(String[] args) {
		X<CC> xcc = new X<CC>();
		xcc.t = new CC();
		xcc.foo();
	}
}
class AA {
	void bar() {}
}
class CC extends AA implements p.IB {
	public void baz() {
		System.out.println("done");
	}
}

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

]


Full results sent to /tmp/genie.jdt/comptest/run.1565496180436/10.0.1_20190811_000308.txt

Standard Error

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

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