diff options
author | James Iry <james.iry@typesafe.com> | 2013-05-29 14:10:02 -0700 |
---|---|---|
committer | James Iry <james.iry@typesafe.com> | 2013-05-29 14:19:25 -0700 |
commit | fc6da8d8b765ddc3c492d0884164561ca7a8b4d8 (patch) | |
tree | 65c6301aef6880e456f97d59df1bcfefce66db4a /test/benchmarks | |
parent | 9eb63c522fc3f490ff8ff3e731dca1e160a0338f (diff) | |
download | scala-fc6da8d8b765ddc3c492d0884164561ca7a8b4d8.tar.gz scala-fc6da8d8b765ddc3c492d0884164561ca7a8b4d8.tar.bz2 scala-fc6da8d8b765ddc3c492d0884164561ca7a8b4d8.zip |
Test for reading JDK 8 (classfile format 52) class files.
This commit includes a test for reading JDK 8 (classfile format 52)
class files, in particular default (aka defender) methods. It uses ASM
to generate an interface with default methods then exercises that
interface from Scala.
Surprisingly no changes are necessary to the Scala code base to support
reading format 52 class files.
Because the test can only run under JDK 8, the JDK version is checked
and the expected output is synthesized for previous versions.
Diffstat (limited to 'test/benchmarks')
0 files changed, 0 insertions, 0 deletions