harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2710) [drlvm] Incomplete stack trace on jet/opt
Date Tue, 19 Dec 2006 16:55:22 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2710?page=comments#action_12459691 ] 
            
Alexei Fedotov commented on HARMONY-2710:
-----------------------------------------

Here is an actual stack trace. It seems like LinkageError is created incorrectly.

(*(((*(Class_Member*)(&*((frames[0]).method))))._name)).bytes	0x01211f10 "getStackState"
(*((*(((*(Class_Member*)(&*((frames[0]).method))))._class)).m_name)).bytes	0x02481ff0
"org/apache/harmony/vm/VMStack"
(*(((*(Class_Member*)(&*((frames[1]).method))))._name)).bytes	0x01211b48 "fillInStackTrace"
(*((*(((*(Class_Member*)(&*((frames[1]).method))))._class)).m_name)).bytes	0x011a9668
"java/lang/Throwable"
(*(((*(Class_Member*)(&*((frames[2]).method))))._name)).bytes	0x011a9848 "<init>"
(*((*(((*(Class_Member*)(&*((frames[2]).method))))._class)).m_name)).bytes	0x011a9668
"java/lang/Throwable"
(*(((*(Class_Member*)(&*((frames[3]).method))))._name)).bytes	0x011a9848 "<init>"
(*((*(((*(Class_Member*)(&*((frames[3]).method))))._class)).m_name)).bytes	0x012122d0
"java/lang/Error"
(*(((*(Class_Member*)(&*((frames[4]).method))))._name)).bytes	0x011a9848 "<init>"
(*((*(((*(Class_Member*)(&*((frames[4]).method))))._class)).m_name)).bytes	0x024819a8
"java/lang/LinkageError"
(*(((*(Class_Member*)(&*((frames[5]).method))))._name)).bytes	0x011a9848 "<init>"
(*((*(((*(Class_Member*)(&*((frames[5]).method))))._class)).m_name)).bytes	0x012123d0
"java/lang/ExceptionInInitializerError"
(*(((*(Class_Member*)(&*((frames[6]).method))))._name)).bytes	0x02c6fc80 "testExceptionInitializerError"
(*((*(((*(Class_Member*)(&*((frames[6]).method))))._class)).m_name)).bytes	0x02c6fc00
"tests/api/java/lang/StackTraceElementTest"


> [drlvm] Incomplete stack trace on jet/opt
> -----------------------------------------
>
>                 Key: HARMONY-2710
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2710
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexei Fedotov
>         Attachments: StackTraceElementTest.java
>
>
> Please compile the attached test, remove B.class and run the test.
> The line
>          at A.<init>(LineNumberTest.java:10)
> is lost at the top of stack trace when running on jet/opt.
> The output on interpreter is as follows:
> > java -Xint LineNumberTest                                         
> java.lang.NoClassDefFoundError: B
>         at A.<init>(LineNumberTest.java:10)
>         at java.lang.reflect.VMReflection.newClassInstance(Native Method)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at java.lang.Class.newInstance(Unknown Source)
>         at LineNumberTest.main(LineNumberTest.java:3)
> Caused by: java.lang.ClassNotFoundException: B
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:623)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at
> java.net.URLClassLoader$SubURLClassLoader.loadClass(URLClassLoader.java:116)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at A.<init>(LineNumberTest.java:10)
>         ... 4 more
> The output on jet:
> java -Xem jet LineNumberTest
> java.lang.NoClassDefFoundError: B
>         at java.lang.reflect.VMReflection.newClassInstance(Native Method)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at java.lang.Class.newInstance(Unknown Source)
>         at LineNumberTest.main(LineNumberTest.java:3)
> Caused by: java.lang.ClassNotFoundException: B
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:623)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at
> java.net.URLClassLoader$SubURLClassLoader.loadClass(URLClassLoader.java:116)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.reflect.VMReflection.newClassInstance(Native Method)
>         ... 3 more
> I will think of integrating this test into our infrastructure

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

        

Mime
View raw message