summaryrefslogtreecommitdiff
path: root/test/files/run/classfile-format-51.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2016-07-20 17:36:54 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2016-07-20 21:13:39 +0200
commite619b033350a3378d650db4c3e5b1bfc83b73d81 (patch)
tree44abc925a9e9fc4a77a75a1983c42654c7cf8f89 /test/files/run/classfile-format-51.scala
parent5ddb0bbe36e7caa44c9442b059d103f7f4e75331 (diff)
downloadscala-e619b033350a3378d650db4c3e5b1bfc83b73d81.tar.gz
scala-e619b033350a3378d650db4c3e5b1bfc83b73d81.tar.bz2
scala-e619b033350a3378d650db4c3e5b1bfc83b73d81.zip
Upgrade asm to 5.1
The constructor of scala.tools.asm.Handle now takes an additional boolean parameter to denote whether the owner is an interface.
Diffstat (limited to 'test/files/run/classfile-format-51.scala')
-rw-r--r--test/files/run/classfile-format-51.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/classfile-format-51.scala b/test/files/run/classfile-format-51.scala
index 3a6c4861f1..40eebee198 100644
--- a/test/files/run/classfile-format-51.scala
+++ b/test/files/run/classfile-format-51.scala
@@ -80,7 +80,7 @@ object Test extends DirectTest {
val test = cw.visitMethod(ACC_PUBLIC + ACC_FINAL, "test", s"()Ljava/lang/String;", null, null)
test.visitCode()
- val bootstrapHandle = new Handle(H_INVOKESTATIC, invokerClassName, bootstrapMethodName, bootStrapMethodType)
+ val bootstrapHandle = new Handle(H_INVOKESTATIC, invokerClassName, bootstrapMethodName, bootStrapMethodType, /* itf = */ false)
test.visitInvokeDynamicInsn("invoke", targetMethodType, bootstrapHandle)
test.visitInsn(ARETURN)
test.visitMaxs(1, 1)