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 255246 - completion of strictfp keyword doesn't work for for inner classes
Summary: completion of strictfp keyword doesn't work for for inner classes
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-12 18:50 UTC by ytn01
Modified: 2015-09-15 01:24 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 ytn01 2015-09-12 18:50:27 UTC
Product Version = NetBeans IDE Dev (Build 201509120002)
Operating System = Mac OS X version 10.10.5 running on x86_64
Java; VM; Vendor = 1.8.0_66-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b02

Reproducibility: Happens every time


STEPS:
  * Open IDE options dialog, and go to editor->code-completion
  * In the "All Languages" section, make sure these are checked: "Auto popup completion window", "Auto popup documentation window", "Display documentation next to completion", "Insert single proposals automatically", "Case sensitive code completion" and "Insert closing brackets automatically"
  * Switch language to "Java": and make sure these are checked: "Guess filled method arguments", "Auto popup on Typing any java identifier part" 
  * create class TestClass with the following source:
   package completion;


/**
 *
 * @author YTN
 */
public class TestClass {
volatile int d;
    public TestClass() {
       strictfp class x{}
       x y = null;
  
    } 
}

ACTUAL:
  when you type declaration of the local class "x", editor doesn't suggest completion of the strictfp modifier

EXPECTED:
  editor should provide suggestion for all java keywords including strictfp, as per the autocompletion configuration we hav
Comment 1 Dusan Balek 2015-09-14 11:45:20 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/3987551f0efc
Comment 2 Quality Engineering 2015-09-15 01:24:35 UTC
Integrated into 'main-silver', will be available in build *201509150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3987551f0efc
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #255246 - completion of strictfp keyword doesn't work for for inner classes - fixed.