Expected Behavior

jakarta.servlet.http.Cookie now support RFC 6265.

and getComment, setComment, getVersion, setVersion With the adoption of support for RFC 6265, those method should no longer be used.

and now, those methods's body is empty or return null. therefore, we should add @Deprecated on SavedCookie.class's constructor and some getter.

Current Behavior

in getter, it always return 0 or null. and setter have no operation.

Context Suggested solution: #12531