Sign in
◑
Theme
third-party-mirror
/
openjdk
/
jdk25u
/
refs/heads/master
/
.
/
test
/
langtools
/
tools
/
javac
/
expression
/
NullAppend.java
blob: 1ced2313ef753dba6aff6eac9f698a29378e26ae [
file
] [
edit
]
/*
* @test /nodynamiccopyright/
* @bug 4620794
* @summary compiler allows null + null
* @author gafter
*
* @compile/fail/ref=NullAppend.out -XDrawDiagnostics NullAppend.java
*/
class
NullAppend
{{
String
s
=
null
+
null
;
}}