langtools/test/tools/javac/boxing/T5082929.java
author sogoel
Wed, 02 Jul 2014 14:27:10 -0700
changeset 25310 a2e7f254f886
parent 5520 86e4b9a9da40
permissions -rw-r--r--
8046770: .out files for assert, boxing, and overload tests in tools/javac dir Reviewed-by: jjg

/*
 * @test    /nodynamiccopyright/
 * @bug     5082929
 * @summary Comparing Float and Integer
 * @author  Peter von der Ah\u00e9
 * @compile/fail/ref=T5082929.out -XDrawDiagnostics  T5082929.java
 */

public class T5082929 {
    void test(Float f, Integer i) {
        boolean b = f == i;
    }
}