langtools/test/tools/javac/T6214885.java
author hseigel
Tue, 26 Jul 2016 08:23:25 -0400 (2016-07-26)
changeset 43178 6fb98b21d035
parent 40835 6ab9ed1abc46
permissions -rw-r--r--
8161218: Better bytecode loading Reviewed-by: acorn, mschoene, ctornqvi Contributed-by: harold.seigel@oracle.com
/*
 * @test  /nodynamiccopyright/
 * @bug 6214885
 * @summary This test exercises features provided by the new internal Diagnostics API
 * @compile/fail/ref=T6214885a.out --diags:layout=%b:%l%_%t%m|%p%m T6214885.java
 * @compile/fail/ref=T6214885b.out --diags:layout=%b:%l:%c%_%t%m|%p%m T6214885.java
 */
class T6214885
{
    public void m() {
        x = 1;
    }
}