Fixed NPE on some JVM's
This commit is contained in:
parent
e5a16e25df
commit
2309163d92
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ public class EnumHelper {
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ((field.getModifiers() & flags) == flags &&
|
if ((field.getModifiers() & flags) == flags &&
|
||||||
field.getType().getName().equals(valueType))
|
field.getType().getName().replace('.', '/').equals(valueType)) //Apparently some JVMs return .'s and some don't..
|
||||||
{
|
{
|
||||||
valuesField = field;
|
valuesField = field;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue