1/* 2 * @test /nodynamiccopyright/ 3 * @bug 4620794 4 * @summary compiler allows null + null 5 * @author gafter 6 * 7 * @compile/fail/ref=NullAppend.out -XDrawDiagnostics NullAppend.java 8 */ 9 10class NullAppend {{ 11 String s = null + null; 12}} 13