Fix Java swigReleaseOwnership() and swigTakeOwnership() regression

Fixes segfault when using non-director classes.
Restores a dynamic_cast which was previously removed.
The dynamic_cast is not needed for the swig_connect_director call ...
we'll have to find another solution for #449 for Java.

Closes #1184
This commit is contained in:
William S Fulton 2018-03-09 08:13:41 +00:00
commit b4f4ce4fd5
5 changed files with 125 additions and 5 deletions

View file

@ -194,6 +194,7 @@ CPP_TEST_CASES += \
director_nspace_director_name_collision \
director_overload \
director_overload2 \
director_ownership \
director_pass_by_value \
director_primitives \
director_property \