SerializationCompatibilitySpec failure on JDK7. #3288