Java enums gets converted to Integers inside of List

Right. The only thing we changed is the default. And with “of enum” sets don’t work. That said, on the Java site you should get a List<int> on the other end as Java doesn’t support enums like this properly.