This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The following snippet doesn't show the hint: List<String> input = Arrays.asList("1", "2"); List<Integer> output = new ArrayList<>(); for(String i : input) { output.add(Integer.parseInt(i)); } while this one does: List<String> input = Arrays.asList("1", "2"); List<Integer> output = new ArrayList<>(); for(String i : input) { output.add(i.length()); } In my opinion, both snippets should show it.
Fixed in jet-main#b96235dbc97e
Integrated into 'main-silver', will be available in build *201607140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b96235dbc97e User: Svata Dedic <sdedic@netbeans.org> Log: #247771: unchecked exceptions do not prevent the hint from appearing