summaryrefslogtreecommitdiff
path: root/test/files/run/classfile-format-52.check
Commit message (Collapse)AuthorAgeFilesLines
* Test for reading JDK 8 (classfile format 52) class files.James Iry2013-05-291-0/+2
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.