langtools/test/tools/javac/T6794959.java
author duke
Wed, 05 Jul 2017 23:01:50 +0200
changeset 44228 e46434c65a2b
parent 30713 4a01965154be
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1866
734286a0cc38 6794959: add new switch -XDexpectKeys=key,key....
jjg
parents:
diff changeset
     1
/*
30713
4a01965154be 8068464: Group 10d: golden files for tests in tools/javac dir
sogoel
parents: 5520
diff changeset
     2
 * @test /nodynamiccopyright/
1866
734286a0cc38 6794959: add new switch -XDexpectKeys=key,key....
jjg
parents:
diff changeset
     3
 * @bug 6794959
734286a0cc38 6794959: add new switch -XDexpectKeys=key,key....
jjg
parents:
diff changeset
     4
 * @summary add new switch -XDexpectKeys=key,key,...
734286a0cc38 6794959: add new switch -XDexpectKeys=key,key....
jjg
parents:
diff changeset
     5
 * @compile T6794959.java
30713
4a01965154be 8068464: Group 10d: golden files for tests in tools/javac dir
sogoel
parents: 5520
diff changeset
     6
 * @compile/fail/ref=T6794959a.out -XDrawDiagnostics  -XDfailcomplete=java.lang.String T6794959.java
1866
734286a0cc38 6794959: add new switch -XDexpectKeys=key,key....
jjg
parents:
diff changeset
     7
 * @compile -XDfailcomplete=java.lang.String -XDexpectKeys=compiler.err.cant.resolve.location T6794959.java
30713
4a01965154be 8068464: Group 10d: golden files for tests in tools/javac dir
sogoel
parents: 5520
diff changeset
     8
 * @compile/fail/ref=T6794959b.out -XDrawDiagnostics -XDexpectKeys=compiler.err.cant.resolve.location T6794959.java
1866
734286a0cc38 6794959: add new switch -XDexpectKeys=key,key....
jjg
parents:
diff changeset
     9
 */
734286a0cc38 6794959: add new switch -XDexpectKeys=key,key....
jjg
parents:
diff changeset
    10
734286a0cc38 6794959: add new switch -XDexpectKeys=key,key....
jjg
parents:
diff changeset
    11
class T6794959 {
734286a0cc38 6794959: add new switch -XDexpectKeys=key,key....
jjg
parents:
diff changeset
    12
    String s;
734286a0cc38 6794959: add new switch -XDexpectKeys=key,key....
jjg
parents:
diff changeset
    13
}