SerializationCompatibilitySpec failure on JDK7. See #3288