[jboss-jira] [JBoss JIRA] Updated: (JBBUILD-501) IncompatibleClassChangeError when a Vector (or in general a collection) is passed as Iterable
Paul Gier (JIRA)
jira-events at lists.jboss.org
Wed Nov 26 10:48:37 EST 2008
[ https://jira.jboss.org/jira/browse/JBBUILD-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Gier updated JBBUILD-501:
------------------------------
Fix Version/s: JBossRetro-1.1.3.GA
> IncompatibleClassChangeError when a Vector (or in general a collection) is passed as Iterable
> ---------------------------------------------------------------------------------------------
>
> Key: JBBUILD-501
> URL: https://jira.jboss.org/jira/browse/JBBUILD-501
> Project: JBoss Build System
> Issue Type: Bug
> Components: JBossRetro
> Affects Versions: JBossRetro-1.1.2.GA
> Reporter: Gabriele Contini
> Assignee: Paul Gier
> Fix For: JBossRetro-1.1.3.GA
>
>
> I have some problem with some code i retroweaved. When i run:
> import java.util.Vector;
> ....
> Vector v=new Vector();
> processIterable(v);
> ...
> private void processIterable(Iterable iterable){
> //do something
> }
> I get this error:
> : java.lang.IncompatibleClassChangeError: class java.util.Vector does not implement interface org.jboss.lang.Iterable
> Seems that the interface java.lang.Iterable is translated into org.jboss.lang.Iterable while java.util.Vector is left unchanged.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list