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.
Product Version: NetBeans IDE Dev (Build 201508250002) Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) --Use Case-- 1. Open OD|Editor|CC|All Languages and uncheck the 'Insert Single Proposals Automatically' 2. Switch to OD|Editor|CC|Java 3. Add 'java.lang.System.gc' to the Exclude list 4. Check the 'Apply rules to methods' 5. Create new java class with some test method 6. Type inside the method body 'gc' and call CC --Expected Result-- No suggestions or a list of items but without 'System.gc()' in it. --Actual Result-- CC offers one entry which is 'System.gc() void'. If the 'Insert Single Proposals Automatically' is checked the text 'gc' is automatically replaced with the System.gc() method call. Since the gc() method is unwanted the CC should not offer it at all! Moreover the CC behaves correctly and does not offer 'System.gc() void' for following input 'System.'.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/82108c66cbfe
Integrated into 'main-silver', will be available in build *201508280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/82108c66cbfe User: Dusan Balek <dbalek@netbeans.org> Log: Issue #254734 - CC does not recognize the Exclude list - fixed.