You can use an ognl expression to access a static field or an enum field, but you can't access a static field on an enum.
blows up with:
Caused by: java.lang.IllegalArgumentException: No enum constant com.myco.MyEnum.MY_STATIC_FIELD
OgnlRuntime.getStaticField() needs to check for both enum field name and static field name for enums.
This is particularly annoying now with ognl static method invocation deprecated.