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 188622 - Exception while building xslt.model netbeans module
Summary: Exception while building xslt.model netbeans module
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Vitaly Bychkov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-13 09:44 UTC by Vitaly Bychkov
Modified: 2010-07-14 04:51 UTC (History)
1 user (show)

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 Vitaly Bychkov 2010-07-13 09:44:46 UTC
Compile time Exception in xslt.model:
..........................
xslt.model\src\org\netbeans\modules\xslt\model\impl\XslModelImpl.java:117: prepareChangeInfo(java.util.List<org.w3c.dom.Node>) in org.netbeans.modules.xml.xam.dom.AbstractDocumentModel<org.netbeans.modules.xslt.model.XslComponent>  cannot be applied to (java.util.List<capture#883 of ? extends org.w3c.dom.Node>,java.util.List<capture#117 of ? extends org .w3c.dom.Node>)
[parseprojectxml]         ChangeInfo change = super.prepareChangeInfo(pathToRoot, nsContextPathToRoot);
[parseprojectxml]                                  ^
[parseprojectxml] E:\binu\OJCDT\soa-69\soa-69\xslt.model\src\org\netbeans\modules\xslt\model\impl\XslModelImpl.java:114: method does not override or implement a method from a supertype
..............................

Initially the problem is in incovariant behavior of the java generics, see jdk issues: 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476073
 and
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954
Comment 1 Vitaly Bychkov 2010-07-14 04:51:35 UTC
Fixed.