langtools/test/tools/javac/Digits.java
author mcimadamore
Wed, 26 Oct 2016 15:41:25 +0100
changeset 41856 13a056e8f16e
parent 6150 d055fa8ced62
permissions -rw-r--r--
8168774: Polymorhic signature method check crashes javac Summary: Check for polysig method assumes arity is greater than zero Reviewed-by: vromero

/*
 * @test  /nodynamiccopyright/
 * @bug 6183529
 * @summary javac gives warnings instead of errors on non-ASCII digits
 * @compile/fail/ref=Digits.out -XDrawDiagnostics Digits.java
 */

class Digits
{
    public static final double good =  1.23;
    public static final double bad  =  1.2\u0663;
}