I found a problem with how Enums are being handled when compiling to Java.
On C# (language level) Enums are value type. On Java, Enums are reference type, so they are nullable.
When declaring an object with an Enum field/property it will be initialized to the Enum with value
0 regardless if that value exists on the Enum or not. This is not happening on Java, so the value is left
null which change the behavior of the code.