| Summary: | Guess available NonNull annotations | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Andrey Loskutov <loskutov> | ||||
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> | ||||
| Status: | REOPENED --- | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | christoph, jarthana, stephan.herrmann | ||||
| Version: | 3.8 | Keywords: | helpwanted | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Andrey Loskutov
This Bug is still active. Using java8 features like using a stream and converting that into a string array: (new ArrayList<>()).stream().toArray(String[]::new); The workaround I use is to disable the "annotation-based null analysis" in project->properties->java-compiler... (In reply to pascal christoph from comment #1) > This Bug is still active. Using java8 features like using a stream and > converting that into a string array: > > (new ArrayList<>()).stream().toArray(String[]::new); > > The workaround I use is to disable the "annotation-based null analysis" in > project->properties->java-compiler... How does this relate to the selection of annotation types (JDT vs. FindBugs etc.)? Perhaps you intended to drop this comment in another bug? :) Also, I'm not even sure what bug you are seeing regarding your example. I think this needs to be implemented in JDT/UI as part of the preference dialog. @stephan I copied the report to bug 366014. (In reply to pascal christoph from comment #4) > @stephan I copied the report to bug 366014. And after seeing the error message I filed bug 479389 :) . |