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 245974 - Typed LinkedList incorrectly flagged as an error
Summary: Typed LinkedList incorrectly flagged as an error
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.1
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-25 00:53 UTC by blake1024
Modified: 2014-07-26 15:36 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 blake1024 2014-07-25 00:53:10 UTC
The following code is flagged as an error by NetBeans.  This code is not flagged as an error in prior releases of NetBeans with Groovy support.


package com.arahant.groovy.exports

class Abc {
    int x
}


class MyClass {
    //  the following line os the one that is flagged as an error
    LinkedList<Abc> ivar = new LinkedList<Abc>()
}
Comment 1 Martin Janicek 2014-07-25 08:36:28 UTC
Reproducible, I will take a look at it..
Comment 2 Martin Janicek 2014-07-25 10:58:40 UTC
Fixed by change-set: web-main #ce2bf0d56c52
Comment 3 Quality Engineering 2014-07-26 01:24:15 UTC
Integrated into 'main-silver', will be available in build *201407260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ce2bf0d56c52
User: Martin Janicek <mjanicek@netbeans.org>
Log: #245974 - Typed LinkedList incorrectly flagged as an error
Comment 4 blake1024 2014-07-26 15:36:15 UTC
Looks great.  Thanks!!