langtools/test/tools/javac/diags/examples/PossibleLossPrecision.java
changeset 12334 29e1bfdcba4e
parent 6149 48de3564aa13
child 13438 83729994273a
equal deleted inserted replaced
12333:7b02d0529a97 12334:29e1bfdcba4e
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 // key: compiler.misc.possible.loss.of.precision
    24 // key: compiler.misc.possible.loss.of.precision
    25 // key: compiler.err.prob.found.req
    25 // key: compiler.err.prob.found.req.1
    26 
    26 
    27 class PossibleLossPrecision {
    27 class PossibleLossPrecision {
    28     long l;
    28     long l;
    29     int i = l;
    29     int i = l;
    30 }
    30 }