JDK-8161256: general data in constant pools - Java Issue Tracker
Jul 12, 2016 ... The code 2 has been held open under the name CONSTANT_Unicode but has never been used, probably because of the wide adoption of UTF8 for string ...
Jul 12, 2016 ... The code 2 has been held open under the name CONSTANT_Unicode but has never been used, probably because of the wide adoption of UTF8 for string ...
export/kvn/jdk6u25/fastdebug/bin/java -server -XX:+UnlockDiagnosticVMOptions -XX:-UnrollLimitCheck -XX:CICompilerCount=1 -Xbatch -Xcomp t # #. A fatal error has been detected by the Java Runtime Environment
fails with: Test.java:11: error: incompatible types: cannot infer type-variable(s) T,U.type-variable: CAP#1 extends String from capture of ? extends String 1 error. but if the lambda is implicit: e -> e.trim(), it compiles just fine.
private static final java.lang.String DISABLED; descriptor: Ljava/lang/String; flags: ACC_PRIVATE, ACC_STATIC, ACC_FINAL ConstantValue: String N. public MyTest(); descriptor: ()V flags: ACC_PUBLIC Code: stack=1, locals=1, args_size=1.
GenericTest.java:6: error: array required, but CAP#1 found return foo.call()[0]Last worked in version 5.0. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Attempt to compile the source code included with this report.