[
https://jira.jboss.org/jira/browse/JBBUILD-501?page=com.atlassian.jira.pl...
]
Gabriele Contini updated JBBUILD-501:
-------------------------------------
Component/s: JBossRetro
Affects Version/s: JBossRetro-1.1.2.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
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