[buildtest][vts] Test vm/jvms/instructions/invokeReturn/invokedynamic/invokedynamic01/invokedynamic0101
which uses invokedynamic instruction fails
---------------------------------------------------------------------------------------------------------------------------------------------------
Key: HARMONY-4356
URL: https://issues.apache.org/jira/browse/HARMONY-4356
Project: Harmony
Issue Type: Bug
Reporter: Vera Petrashkova
Priority: Minor
The changes to the J2SE VM specification define new "invokedynamic" instruction.
The following VTS test
vm/jvms/instructions/invokeReturn/invokedynamic/invokedynamic01/invokedynamic0101/invokedynamic0101.xml
was created to check the using of this instruction.
But it fails on Harmony:
==================
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its l
icensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r552461, (Jul 4 2007), Windows/ia32/msvc 1310, release build
http://harmony.apache.org
Uncaught exception in main:
java.lang.VerifyError: org/apache/harmony/vts/test/vm/jvms/instructions/invokeReturn/invok
edynamic/invokedynamic01/invokedynamic0101/invokedynamic0101p/test([Ljava/lang/String;)I,
pass: 1, instr: 1, reason: invalid opcode
at java.lang.ClassLoader.defineClass0(ClassLoader.java)
at java.lang.ClassLoader.defineClass(ClassLoader.java:438)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:70)
at java.net.URLClassLoader.access$3(URLClassLoader.java:1)
at java.net.URLClassLoader$URLHandler.createClass(URLClassLoader.java:260)
at java.net.URLClassLoader$URLFileHandler.findClass(URLClassLoader.java:559)
at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1193)
at java.net.URLClassLoader$4.run(URLClassLoader.java:888)
at java.net.URLClassLoader$4.run(URLClassLoader.java:1)
at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)
at java.security.AccessController.doPrivileged(AccessController.java:64)
at java.net.URLClassLoader.findClass(URLClassLoader.java:890)
at java.lang.ClassLoader.loadClass(ClassLoader.java:575)
at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:963)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
FAILED to invoke JVM.
It looks like invokedynamic" instruction is not implemented in DRLVM.
This test also fails on RI.
See output
========
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
Exception in thread "main" java.lang.VerifyError: (class: org/apache/harmony/vts/test/vm/j
vms/instructions/invokeReturn/invokedynamic/invokedynamic01/invokedynamic0101/invokedynami
c0101p, method: test signature: ([Ljava/lang/String;)I) Illegal instruction found at offset
1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|