1 /* 2 * @test /nodynamiccopyright/ 3 * @bug 4974939 4 * @summary Boxing/unboxing negative unit and regression tests 5 * @author gafter 6 * @compile/fail/ref=Boxing2.out -XDrawDiagnostics Boxing2.java 7 */ 8 9 public class Boxing2 { 10 f()11 void f() { 12 Long l = 12; // no compound boxing 13 } 14 } 15