Tue, 10 Apr 2012 08:15:25 -0700
7074397: Build infrastructure changes (makefile re-write)
Summary: New makefiles transition, old and new living side by side for now.
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
Contributed-by: ohrstrom <fredrik.ohrstrom@oracle.com>, erikj <erik.joelsson@oracle.com>, ihse <magnus.ihse.bursie@oracle.com>, tgranat <torbjorn.granat@oracle.com>, ykantser <yekaterina.kantserova@oracle.com>
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 5017953
4 * @summary spurious cascaded diagnostics when name not found
5 * @compile/fail/ref=T5017953.out -XDrawDiagnostics T5017953.java
6 */
8 class T5017953 {
10 int f = 0;
11 void test(int i) {}
13 { test(NonExistentClass.f ++);
14 test(1 + NonExistentClass.f);
15 test(NonExistentClass.f + 1);
16 test(NonExistentClass.f + NonExistentClass.f);
17 test(NonExistentClass.f += 1);
18 test(f += NonExistentClass.f);
19 }
20 }