diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-11-05 12:10:16 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-11-05 16:02:35 +0100 |
commit | 21a44fee3e92817eed3d002c839b62f5e1281200 (patch) | |
tree | 8a4739086cbaad471b7dfc5f1bb186dd8dda930c /test/files/run/t5543.scala | |
parent | b556b2fdcc7198bffe0ee90c5adc8c9eb3c29e36 (diff) | |
download | scala-21a44fee3e92817eed3d002c839b62f5e1281200.tar.gz scala-21a44fee3e92817eed3d002c839b62f5e1281200.tar.bz2 scala-21a44fee3e92817eed3d002c839b62f5e1281200.zip |
SI-8960 Bring back the SerialVersionUID to anonymous function classes
In PR #1673 / 4267444, the annotation `SerialVersionId` was changed
from a `StaticAnnotation` to `ClassFileAnnotation` in order to enforce
annotation arguments to be constants. That was 2.11.0.
The ID value in the AnnotationInfo moved from `args` to `assocs`, but
the backend was not adjusted. This was fixed in PR #3711 / ecbc9d0 for
2.11.1.
Unfortunately, the synthetic AnnotationInfo that is added to anonymous
function classes still used the old constructor (`args` instead of
`assocs`), so extracting the value failed, and no field was added to
the classfile.
Diffstat (limited to 'test/files/run/t5543.scala')
0 files changed, 0 insertions, 0 deletions