langtools/test/tools/javac/T6214885.java
author darcy
Sun, 14 Nov 2010 07:16:46 -0800 (2010-11-14)
changeset 7213 912fdd70fd2a
parent 6150 d055fa8ced62
child 39812 6272642715a1
permissions -rw-r--r--
6991528: Support making Throwable.suppressedExceptions immutable Reviewed-by: mcimadamore
/*
 * @test  /nodynamiccopyright/
 * @bug 6214885
 * @summary This test exercises features provided by the new internal Diagnostics API
 * @compile/fail/ref=T6214885a.out -XDdiags=%b:%l%_%t%m|%p%m T6214885.java
 * @compile/fail/ref=T6214885b.out -XDdiags=%b:%l:%c%_%t%m|%p%m T6214885.java
 */
class T6214885
{
    public void m() {
        x = 1;
    }
}