Results for “java array string error failed code example python site:bugs.java.com problem”
bugs.java.com
Bug ID: JDK-7094245 XMLEncoder completely ignores arrays when...
A DESCRIPTION OF THE PROBLEM : When an array for which a getter/setter exists is made public, it is completely ignored by XMLEncoder.writeObject().STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Run the main method from the class Fail as provided below.
bugs.java.com
Bug ID: JDK-7126754 Generics compilation failure casting List
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Attempt to compile the following class under Java 7: import java.util.List; import java.util.SetEXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Should compile. ACTUAL - Fails to compile with
bugs.java.com
Bug ID: JDK-8025290 javac implicit versus explicit lambda compilation...
I fail to see the issue, your code compiles with ? extends because here you don't use the return type. If the callsite is: Comparator<String> c = mycomparing((Object e) -> e.toString()); the version with ? extends fails to compile too which is the expected behavior.