Since JEP 395, it has been possible to declare static fields in inner classes. The serialization spec has stale discussion about how this is impossible, leading to some limitations on serializable inner classes.
For example, from 1.5:
Note: There is, however, a limitation to the use of this mechanism to specify serializable fields for inner classes. Inner classes can only contain final static fields that are initialized to constants or expressions built up from constants. Consequently, it is not possible to set serialPersistentFields for an inner class (though it is possible to set it for static member classes). For other restrictions pertaining to serialization of inner class instances, see section Section 1.10, "The Serializable Interface".
There's another note that talks about this in 1.10.