We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In domino-jackson EnumJsonDeserilizer uses Enum.valueOf(Class<E> enumType, String enumName) to evaluate the enum constant.
EnumJsonDeserilizer
Enum.valueOf(Class<E> enumType, String enumName)
domino-jackson/jackson-apt/src/main/java/org/dominokit/jacksonapt/deser/EnumJsonDeserializer.java
Line 61 in 4ce5e9e
The valueOf method is emulated in GWT2.x https://github.com/gwtproject/gwt/blob/master/user/super/com/google/gwt/emul/java/lang/Enum.java#L38
valueOf
but is not emulated yet in j2cl https://github.com/google/j2cl/blob/d555a3350bd9e374686138b0c484207a363aefa0/jre/java/java/lang/Enum.java#L56
which makes the deserialization fails at runtime
there is already an issue filed to j2cl project to address this problem google/j2cl#90
we are going to implement a workaround for this until the issue is fixed in j2cl
The text was updated successfully, but these errors were encountered:
3f2eacc
vegegoku
No branches or pull requests
In domino-jackson
EnumJsonDeserilizer
usesEnum.valueOf(Class<E> enumType, String enumName)
to evaluate the enum constant.domino-jackson/jackson-apt/src/main/java/org/dominokit/jacksonapt/deser/EnumJsonDeserializer.java
Line 61 in 4ce5e9e
The
valueOf
method is emulated in GWT2.xhttps://github.com/gwtproject/gwt/blob/master/user/super/com/google/gwt/emul/java/lang/Enum.java#L38
but is not emulated yet in j2cl
https://github.com/google/j2cl/blob/d555a3350bd9e374686138b0c484207a363aefa0/jre/java/java/lang/Enum.java#L56
which makes the deserialization fails at runtime
there is already an issue filed to j2cl project to address this problem
google/j2cl#90
we are going to implement a workaround for this until the issue is fixed in j2cl
The text was updated successfully, but these errors were encountered: