Results for “java sample application example script code error site:bugs.java.com failed”
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.
bugs.java.com
Bug ID: JDK-6919944 incorrect position given for duplicate annotation...
test/tools/javac/typeAnnotations/failures/common/arrayclass/DuplicateAnnotationValue.java:10: duplicate annotation member value value in A Object a = String @A(value = 2, value = 1) [].class; ^ 1 error. However, this is still not correct -- the correct place for the caret is at the beginning...
bugs.java.com
Bug ID: JDK-8081727 many tests failed due to "Can't find library"...
There's regression in the latest promoted jtreg4.1/b12, many tests failed with "Error. failed to clean up files after test", and the real issue is: "Can't find library". Here's one example
bugs.java.com
Bug ID: JDK-7126754 Generics compilation failure casting List
EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Should compile. ACTUAL - Fails to compile withCUSTOMER SUBMITTED WORKAROUND : Perform the cast in a separate method, as in the following sample: import java.util.List; import java.util.Set