Skip to content

Commit 8967f68

Browse files
committed
run/classfile-format-52.scala, run on java8, needs -target:jvm-1.8
1 parent 0a8e7c3 commit 8967f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/files/run/classfile-format-52.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import Opcodes._
1414
// By its nature the test can only work on JDK 8+ because under JDK 7- the
1515
// interface won't verify.
1616
object Test extends DirectTest {
17-
override def extraSettings: String = "-optimise -usejavacp -d " + testOutput.path + " -cp " + testOutput.path
17+
override def extraSettings: String = "-target:jvm-1.8 -optimise -usejavacp -d " + testOutput.path + " -cp " + testOutput.path
1818

1919
def generateInterface() {
2020
val interfaceName = "HasDefaultMethod"

0 commit comments

Comments
 (0)