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 233418 - Missing completion for contructors
Summary: Missing completion for contructors
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-25 12:02 UTC by Vladimir Riha
Modified: 2013-08-23 06:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (36.10 KB, text/x-log)
2013-07-25 12:02 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-07-25 12:02:50 UTC
Created attachment 137787 [details]
IDE log

Please try this in Java project:

- file Test.groovy

package javaapplication

class Test {

    Test() {
    }
    Test(String name) {
    }
}

- file Foo.groovy

package javaapplication7

class Foo {
    Foo() {
        Test t = new Test
    }
}


and invoke cc after the "new Test"

=> constructors of Test are not offered



Product Version: NetBeans IDE Dev (Build 201307242300)
Java: 1.7.0_40-ea; Java HotSpot(TM) Client VM 24.0-b52
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b33
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Martin Janicek 2013-08-22 11:50:09 UTC
Fixed in: web-main #5706ed971e16
Comment 2 Vladimir Riha 2013-08-23 06:47:32 UTC
Thanks Martine, verified. But after confirming completion it throws issue 234833

Product Version: NetBeans IDE Dev (Build 201308222300)
Updates: Updates available
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)