Skip to content

Fix Java wrapper "enum class" return failure

David Gobbi requested to merge dgobbi/vtk:java-return-enum into master

Related to issue #17744 (closed), the Java wrappers had been implicitly converting enum to int, which does not work for enum class.

This does not fix the related bug where the Java wrappers fail if a method has int and enum overloads, e.g.

void SetNorm(NormType n);
void SetNorm(int n);

Merge request reports