Results for “java function return string example script error site:bugs.java.com user”
bugs.java.com
Bug ID: JDK-4528663 JFileChooser doesn't return what is typed in the...
If user types into the text field without pressing return or the Open/Save button, it is impossible to retrieve that string. For an example, see NetBeans (using v 3.3, but probably exists in earlier and later versions), File | Mount Filesystem wizard, "Select Directory" panel.
bugs.java.com
Bug ID: JDK-8025290 javac implicit versus explicit lambda compilation...
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.
bugs.java.com
Bug ID: JDK-8037789 Surprising more-specific results for lambda...
- If the return types are unrelated functional interface types (however this is defined -- see JDK-8037804), then the old logic says they're both more specific than the other, and the new logic says neither is more specific. Either way, ambiguity error.