Hi,
I've a strange behavior while working on the iPOJO builder for Eclipse :
when the iPOJO manipulator works on an already manipulated class, it returns
an empty array.
I've seen it comes from the method
"org.apache.felix.ipojo.manipulation.Manipulator.manipulate(byte[])"
(around line 70), where the test "ck.isalreadyManipulated()" is visible.
Wouldn't be a better behavior to return the original byte array ("origin")
instead of an empty one ?
According to the Pojoization class, the setBytecode() method is called
without tests, so it may erase the current class file content and imply an
invalid build state...
At least, it may be useful to indicate that behavior in the javadoc.
Regards,
Thomas.