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.
Created attachment 141980 [details] hint bug in IDE I believe this bug is well documented by screen ;) parsedValue is returned from method as we can see (breakpoint on return) so hint is incorrect in this situation
reproducible
Here is code sample to copy into the editor: public Object get(String input, char c) { Object parsed = null; if (input != null) { switch (c) { case 'a': parsed = Integer.parseInt(input); break; default: throw new RuntimeException(); } } return parsed; }
Not a deficiency of the algorithm / approach
Fixed in experimental impl; wait for the umbrella issue to close.