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 253029 - Groovy editor doesn't respect wildcard import
Summary: Groovy editor doesn't respect wildcard import
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-16 19:49 UTC by iluvtr
Modified: 2015-06-16 19:49 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 iluvtr 2015-06-16 19:49:28 UTC
Let's say you have a Groovy class
 
import java.util.concurrent.*
 
class NewGroovyClass {
    static void main(args) {
        
    }
}


Now stay in editor and hit Ctrl Space Bar to import ConcurrentHashMap. This is the result:
import java.util.concurrent.*
import java.util.concurrent.ConcurrentHashMap
 
class NewGroovyClass {
    static void main(args) {
        ConcurrentHashMap map;
    }
}

The editor doesn't respect wildcard imports