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.
Link: http://services.netbeans.org/synergy/client/app/index.html#/case/4985/suite/2017 TypeCastIsTooStrong HINT: Cast to Map is not displayed DoubleCheckedLocking Hint: Remove the outer conditional statement "Double-checked locking" hint is displayed
Please be more specific in bug descriptions; I am not sure that I can follow the reproduction scenario in your recently submitted bugs. Thanks. I've tried to: - enable per-project options - checked that doublecheck locking is reported on the following code: Integer foo; public int get() { if (foo == null) { synchronized (this) { if (foo == null) { } } } } then I've disabled the Double checking check in Project Options. Hint in editor disappeared. If you can still reproduce the bug, please zip your project folder and attach to the defect.