diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2016-07-20 17:36:54 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2016-07-20 21:13:39 +0200 |
commit | e619b033350a3378d650db4c3e5b1bfc83b73d81 (patch) | |
tree | 44abc925a9e9fc4a77a75a1983c42654c7cf8f89 /test/files/run/classfile-format-51.scala | |
parent | 5ddb0bbe36e7caa44c9442b059d103f7f4e75331 (diff) | |
download | scala-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.scala | 2 |
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) |