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 206811 - Generics parameters invalid errors
Summary: Generics parameters invalid errors
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-30 18:13 UTC by akochnev
Modified: 2012-03-17 10:41 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 akochnev 2011-12-30 18:13:17 UTC
I have a class that returns a Map with generic parameters : 

class Foo {

  Map<String,Long> getFooMap() {

  }
}

I get an error underline w/ the following message : 

'''
The class java.util.Map refers to the class java.util.Map and uses 2 parameters, but the referred class takes no parameters

'''

This really should be an error .
Comment 1 Martin Janicek 2012-03-11 12:19:07 UTC
Still valid and quite annoying --> TM = 7.2
Comment 2 Martin Janicek 2012-03-15 14:45:54 UTC
Fixed in: web-main #bbabe663a5be
Comment 3 Quality Engineering 2012-03-17 10:41:05 UTC
Integrated into 'main-golden', will be available in build *201203170400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/bbabe663a5be
User: Martin Janicek <mjanicek@netbeans.org>
Log: #206811 - Generics parameters invalid errors