[jboss-jira] [JBoss JIRA] Created: (JBBUILD-501) IncompatibleClassChangeError when a Vector (or in general a collection) is passed as Iterable
Gabriele Contini (JIRA)
jira-events at lists.jboss.org
Tue Nov 25 02:22:36 EST 2008
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
Reporter: Gabriele Contini
Assignee: Paul Gier
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