Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com Patches, unit tests, benchmarks, whitepaper, and outreach briefs. Public domain — no copyright claimed. Use freely.
11 lines
323 B
Java
11 lines
323 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 5073060
|
|
* @summary Package private members not found for intersection types
|
|
* @author Peter von der Ahé
|
|
* @compile/fail/ref=Neg.out -XDrawDiagnostics NegHelper.java Neg.java
|
|
*/
|
|
|
|
public class Neg<T extends test.NegHelper & Cloneable> {
|
|
void test(T t) { t.foo(); }
|
|
}
|