From: SourceForge.net <no...@so...> - 2011-08-15 12:50:16
|
Patches item #3325013, was opened at 2011-06-23 09:21 Message generated for change (Comment added) made by vog You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301645&aid=3325013&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: general Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mathieu Malaterre (malat) Assigned to: Nobody/Anonymous (nobody) Summary: Make java vector iterable Initial Comment: This is a patch from: http://thread.gmane.org/gmane.comp.programming.swig.devel/20305 ---------------------------------------------------------------------- Comment By: Volker Grabsch (vog) Date: 2011-08-15 14:50 Message: I'm the author of this patch. Thanks to Mathieu for providing it here. The patch does not only make the Vector wrapper iterable, it provides the full java.util.List<> interface for it. The test suite has been extended accordingly to check all those add/remove/iteration/... methods. The tests ran well on SWIG 2.0.2, and I just confirmed that they still succeed on SWIG 2.0.4 using the following command: make check-java-examples check-java-test-suite The patch has been used in production for months and we haven't had any issues with it. I also tried to run the whole test suite (make check), but it failed somewhere within the Python checks. It didn't even succeed for the unmodified SWIG-2.0.4, so this issue is not related to this patch. I opened a separate entry for that issue: https://sourceforge.net/tracker/?func=detail&aid=3391906&group_id=1645&atid=101645 Regards, Volker ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=301645&aid=3325013&group_id=1645 |