[records] Is serialVersionUID warning for records redundant?
Chris Hegarty
chris.hegarty at oracle.com
Tue Aug 4 07:48:36 UTC 2020
> On 3 Aug 2020, at 08:30, Tagir Valeev <amaembo at gmail.com> wrote:
>
> Hello!
>
> I believe, explicit specification of serialVersionUID in records
> rarely makes sense and should be discouraged. Still javac issues a
> lint warning if it's absent:
Yeah, this is a bug. We already have an issue in JIRA tracking this:
8241151: "Incorrect lint warning for no definition of serialVersionUID in a record” [1]
-Chris
[1] https://bugs.openjdk.java.net/browse/JDK-8241151
More information about the amber-dev
mailing list