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 267305 - "Generate Override Methods" skips collapsed nodes
Summary: "Generate Override Methods" skips collapsed nodes
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-25 17:06 UTC by _ gtzabari
Modified: 2016-07-26 21:07 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 _ gtzabari 2016-07-25 17:06:57 UTC
Product Version: NetBeans IDE Dev (Build 201606200002)
Java: 1.8.0_102; Java HotSpot(TM) 64-Bit Server VM 25.102-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_102-b14
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

1. Open an interface that extends two other interfaces and does not override any methods.
2. Invoke "Override Method" (ALT+Insert)
3. Select the second interface (the node starts out collapsed) without expanding it.
4. Select "Generate"
5. Notice that no methods are generated.
6. Repeat the above steps, but this time expand the node. Notice that methods *do* get generated.

Expected behavior: Methods should be generated for checked nodes, even if they are collapsed.
Comment 1 Svata Dedic 2016-07-26 21:07:26 UTC
Fixed in jet-main#d0ea5ef27e4a