mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
14 lines
290 B
Java
14 lines
290 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 4974939
|
|
* @summary Boxing/unboxing negative unit and regression tests
|
|
* @author gafter
|
|
* @compile/fail/ref=Boxing2.out -XDrawDiagnostics Boxing2.java
|
|
*/
|
|
|
|
public class Boxing2 {
|
|
|
|
void f() {
|
|
Long l = 12; // no compound boxing
|
|
}
|
|
}
|