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.

Bug 267266 - Project specific hint
Summary: Project specific hint
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-23 12:25 UTC by carljmosca
Modified: 2016-07-25 09:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carljmosca 2016-07-23 12:25:44 UTC
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
Comment 1 Svata Dedic 2016-07-25 09:22:05 UTC
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.