test/langtools/tools/javac/generics/Multibound1.java
author darcy
Thu, 12 Jul 2018 14:13:15 -0700
changeset 51047 860a3648c494
parent 47216 71c04702a3d5
permissions -rw-r--r--
8028563: Remove javac support for 6/1.6 source and target values Reviewed-by: jjg, erikj, henryjen
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
30721
1024d425d97e 8074425: Group 13b: golden files for tests in tools/javac/generics dir
sogoel
parents: 7681
diff changeset
     2
 * @test /nodynamiccopyright/
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * @bug 4482403
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 * @summary javac failed to check second bound
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 * @author gafter
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 *
30721
1024d425d97e 8074425: Group 13b: golden files for tests in tools/javac/generics dir
sogoel
parents: 7681
diff changeset
     7
 * @compile/fail/ref=Multibound1.out -XDrawDiagnostics  Multibound1.java
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
5011
428dd17fdb26 6931127: strange test class files
jjg
parents: 2985
diff changeset
    10
package Multibound1;
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
interface A {}
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
interface B {}
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
class C<T extends A&B> {}
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
class D implements A {}
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
class E extends C<D> {}