File: T6910550b.java

package info (click to toggle)
libnb-javaparser-java 9%2B2018-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 65,172 kB
  • sloc: java: 440,096; xml: 6,359; sh: 865; makefile: 314
file content (16 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * @test /nodynamiccopyright/
 * @bug 6910550
 *
 * @summary javac 1.5.0_17 fails with incorrect error message
 * @compile/fail/ref=T6910550b.out -XDrawDiagnostics T6910550b.java
 *
 */

class T6910550b<X, Y, Z> {
    void m(X x) {}
    void m(Y y) {}
    void m(Z y) {}

    { m(null); }
}