langtools/test/tools/javac/generics/CheckNoDuplicateErrors.java
author hseigel
Wed, 02 Mar 2016 23:48:41 +0000
changeset 36397 c487ced7231c
parent 33907 9ee2b1641949
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 8073616
 * @summary Ensure compiler does not emit duplicate error messages at slightly different source positions
 *
 * @compile/fail/ref=CheckNoDuplicateErrors.out -XDrawDiagnostics CheckNoDuplicateErrors.java
 */

import java.util.ArrayList;

final class CheckNoDuplicateErrors_01<T> {}

public class CheckNoDuplicateErrors extends CheckNoDuplicateErrors_01<String>
                                    implements ArrayList<String> {
    CheckNoDuplicateErrors_01 f = new CheckNoDuplicateErrors_01<String> () { };
}