2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2015-05-15 09:30:55 -07:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 5073060
|
|
|
|
* @summary Package private members not found for intersection types
|
|
|
|
* @author Peter von der Ah\u00e9
|
2015-05-15 09:30:55 -07:00
|
|
|
* @compile/fail/ref=Neg.out -XDrawDiagnostics NegHelper.java Neg.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class Neg<T extends test.NegHelper & Cloneable> {
|
|
|
|
void test(T t) { t.foo(); }
|
|
|
|
}
|