harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2905) [drlvm][jvmti] java.lang.VerifyError is thrown for instrumented class
Date Mon, 15 Jan 2007 17:19:27 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464870
] 

Ivan Popov commented on HARMONY-2905:
-------------------------------------

Though DRLVM verifier follows specifications in this case, it is not compatible with RI and
may be subject for adjusting such behavior. I've started mail thread to discuss this:
http://www.mail-archive.com/dev@harmony.apache.org/msg03673.html


> [drlvm][jvmti] java.lang.VerifyError is thrown for instrumented class
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-2905
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2905
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows/ia32, Linux/ia32
>            Reporter: Ivan Popov
>         Assigned To: Gregory Shimansky
>
> DRLVM (r) cannot execute HelloWorld class instrumented by Eclipse TPTP profiler either
statically or dynamically. The following exception is thrown:
> 2. run instrumented class
> Uncaught exception in main:
> java.lang.VerifyError: (class: mytests/HelloWorld, method: <init>()V) Uninitialized
reference usage
>         at java.lang.VMClassRegistry.defineClass(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:70)
>         at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1137)
>         at java.net.URLClassLoader$4.run(URLClassLoader.java:616)
>         at java.net.URLClassLoader$4.run(URLClassLoader.java)
>         at java.security.AccessController.doPrivilegedImpl(Unknown Source)
>         at java.security.AccessController.doPrivileged(Unknown Source)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:614)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader$SystemClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
> FAILED to invoke JVM.
> To reproduce this error get test attached to HARMONY-2200 and run it against DRLVM build.
Only case 1 with original not instrumented class is finished successfully. In all three other
cases, where instrumented class is executed, VerifyError is thrown. RI works fine with this
instrumented class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message