Conditional operator in concatenated string
<p>I'd like know why the following program throws a NPE</p>

<pre><code>public static void main(String[] args) {
    Integer testInteger = null;
    String test = "test" + testInteger == null ? "(null)" : testInteger.toString();
}
</code></pre>

<p>while this</p>

<pre><code>public static void main(String[] args) {
    Integer testInteger = null;
    String test = "test" + (testInteger == null ? "(null)" : testInteger.toString());
}
</code></pre>

<p>doesn't. It's certainly a priority problem and I'm curious how the concatenation works inside.</p>
