You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CodeGenerator tries to identify an Enum field using toString.
This can fail if the toString method of the field has been customized (e.g. ChronoUnit).
The
CodeGenerator
tries to identify anEnum
field usingtoString
.This can fail if the
toString
method of the field has been customized (e.g. ChronoUnit).I suppose that the following code
procyon/Procyon.Reflection/src/main/java/com/strobel/reflection/emit/CodeGenerator.java
Lines 1505 to 1507 in 88a95fa
should be changed to
considering that
name()
is the value expected byEnum.valueOf
too.The text was updated successfully, but these errors were encountered: