Java wrapping mechanism doesn't work, showing the need to use a different way to wrap polymorphic classes. They are two runtime examples: one for java, which is failing, and one for python, which works fine. Detailed description of the case can be found in the three files committed. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5582 626c5289-ae23-0410-ae9c-e8d60b6d4f22 |
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| aggregate_runme.java | ||
| array_member_runme.java | ||
| arrays_global_twodim_runme.java | ||
| cpp_typedef_runme.java | ||
| default_constructor_runme.java | ||
| director_abstract_runme.java | ||
| director_basic_runme.java | ||
| director_exception_runme.java | ||
| director_protected_runme.java | ||
| director_unroll_runme.java | ||
| director_wombat_runme.java | ||
| dynamic_cast_runme.java | ||
| ignore_parameter_runme.java | ||
| imports_runme.java | ||
| java_constants_runme.java | ||
| java_enums_runme.java | ||
| java_jnitypes_runme.java | ||
| java_lib_arrays_runme.java | ||
| java_lib_various_runme.java | ||
| java_pragmas_runme.java | ||
| java_throws_runme.java | ||
| java_typemaps_proxy_runme.java | ||
| java_typemaps_typewrapper_runme.java | ||
| lib_std_string_runme.java | ||
| lib_typemaps_runme.java | ||
| long_long_runme.java | ||
| Makefile.in | ||
| primitive_ref_runme.java | ||
| README | ||
| ret_by_value_runme.java | ||
| template_classes_runme.java | ||
| unions_runme.java | ||
| varargs_runme.java | ||
| virtual_poly_runme.java | ||
See ../README for common README file. The Java implementation of the test-suite is a little different to the other languages in that all of SWIGs output goes into a subdirectory named after the individual test case. This is so that all the shadow classes can be compiled as Java classes have to go into separate files. Otherwise the Makefile wouldn't know which .java files would be relevant to the testcase. For this to work the testcase must go into a Java package. Any testcases which have _runme.java appended after the testcase name will be detected and run.