bugs.java.com
JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... BT2:SUGGESTED FIX In order to fix this bug, the verifier will have to be loosened to allow simple initialization of local fields before the ...
Feb 5, 1997 ... BT2:SUGGESTED FIX In order to fix this bug, the verifier will have to be loosened to allow simple initialization of local fields before the ...
... failed in code line using a conditional assignment with the diamond operator. ... ACTUAL - Compiler error: error: incompatible types List<String> list = true ?
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.