langtools/test/tools/javac/NonAmbiguousField/Test.java
author jlahoda
Thu, 09 Oct 2014 10:08:52 +0200
changeset 26993 513b2cae81c3
parent 17800 fba31de14b46
child 30713 4a01965154be
permissions -rw-r--r--
8057652: Request to improve error messages for labeled declarations Summary: Parse labeled statements as block statements to improve error recovery for labeled declarations; related cleanup. Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
 * @test
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * @bug 4053724
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 * @summary Certain non-ambiguous field references were reported by the
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 *          compiler as ambigous.
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 * @author turnidge
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
 *
17800
fba31de14b46 7164114: Two jtreg tests are not run due to no file extension on the test files
vromero
parents: 10
diff changeset
     8
 * @compile one/Parent.java two/Child.java
fba31de14b46 7164114: Two jtreg tests are not run due to no file extension on the test files
vromero
parents: 10
diff changeset
     9
 * @compile/fail one/Parent2.java two/Child2.java
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
 */