summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2014-10-10 14:02:12 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2014-10-10 16:10:17 +0200
commit4e546eb08c191fb7b9ccfd06f9a749bd1326cd64 (patch)
tree16b302b0a51e1b3bc7d4ef4cfdce6ef8db0852ef /README.md
parent926c0946a72314e5a5c720617c149705c6bb588c (diff)
downloadscala-4e546eb08c191fb7b9ccfd06f9a749bd1326cd64.tar.gz
scala-4e546eb08c191fb7b9ccfd06f9a749bd1326cd64.tar.bz2
scala-4e546eb08c191fb7b9ccfd06f9a749bd1326cd64.zip
Fix t8549 under -Ydelambdafy:method
the structure of Option.class generated by delambdafy:method is slightly different. For example, lambdas declared within Option are not emitted as nested classes, so under delambdafy:method there's no inner class entry for anonfun classes. The test failed because serializing a ClassTag involves serializing an Option. Option did not have a `@SerialVersionUID`, and the classfile generated by delambdafy:method has a different value. The annotation is required on the parent class (Option) as well as the subclasses (Some / None). De-serializing a Some will fail if Option has a different SerialVersionUID. Relates to SI-8576. We should probably have more SVUID annotations in the library.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions