RFR 8159751: ObjectStreamClass: hide 'final' flag for anonymous classes
Dan Smith
daniel.smith at oracle.com
Fri Jun 24 18:50:02 UTC 2016
> On Jun 23, 2016, at 3:21 PM, Roger Riggs <roger.riggs at oracle.com> wrote:
>>> I would suggest javac to produce the same ACC_FINAL bits as it did before for each -target version.
>>> (I know it looks like a hack, but a compatible one).
>>> Correct it for 9 and leave the SUID computation alone.
>>>
>> Okay, so I interpret this to mean you think (2) is tolerable, at least where the two binaries for the anonymous class have different version numbers?
> yes,
>
> No change is needed to the computed SUID or ObjectStreamClass; it uses whatever is in the class file.
Okay, thanks for the input. Given the compatibility problems created by changing the serialization spec, my tentative plan is to close JDK-8159751 "Won't Fix" and just address JDK-8129576 in the compiler, guarded by "-target 9".
I'll get CCC approval for this approach before proceeding.
—Dan
More information about the core-libs-dev
mailing list