We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8e7c3 commit 8967f68Copy full SHA for 8967f68
test/files/run/classfile-format-52.scala
@@ -14,7 +14,7 @@ import Opcodes._
14
// By its nature the test can only work on JDK 8+ because under JDK 7- the
15
// interface won't verify.
16
object Test extends DirectTest {
17
- override def extraSettings: String = "-optimise -usejavacp -d " + testOutput.path + " -cp " + testOutput.path
+ override def extraSettings: String = "-target:jvm-1.8 -optimise -usejavacp -d " + testOutput.path + " -cp " + testOutput.path
18
19
def generateInterface() {
20
val interfaceName = "HasDefaultMethod"
0 commit comments