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.
class A { public: A() : ai(0), af(0.0f) {} private: A(int a) : ai(a), af(0.0f) {} protected: A(float f) : ai(0), af(f) {} float af; int ai; }; class B : public A { public: int bi; float bf; }; int main() { // B b(1.0f); return 0; } Scenario: - Press Alt-Ins in 'class B' - Select "Constructor..." menu item ==> I can select A() constructor only (I expect "A(float f)" also)
fixed, change set: http://hg.netbeans.org/cnd-main/rev/da10e310a5d4
Integrated into 'main-silver', will be available in build *201405300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/da10e310a5d4 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #244628 "Generate Constructor" wizard doesn't display protected constructors
Integrated into 'releases/release80', will be available in build *201406041415* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/9112d00225fd User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #244628 "Generate Constructor" wizard doesn't display protected constructors (transplanted from da10e310a5d4d1449e6931aeb6ddeef1cbbfac0e)
verified in NetBeans IDE 8.0 patch2 (Build 201406041415)