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] Created: (HARMONY-2710) [drlvm] Incomplete stack trace on jet/opt
Date Thu, 14 Dec 2006 15:23:21 GMT
[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


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