]
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: