You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Ignatenko (JIRA)" <ji...@apache.org> on 2007/01/30 06:53:33 UTC

[jira] Updated: (HARMONY-3079) [dlrvm][classloader][opt] Opt does not handle exception raised by classloader (assertion fails classloader.cpp:1521)

     [ https://issues.apache.org/jira/browse/HARMONY-3079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Ignatenko updated HARMONY-3079:
---------------------------------------

    Attachment: test.zip

To reproduce one needs to:
1. Compile sorces from test attached and erase dummy.class file.
2. Run "HDK.../bin/java -Xem:opt Start"


> [dlrvm][classloader][opt] Opt does not handle exception raised by classloader (assertion fails classloader.cpp:1521)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3079
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3079
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Win IA32, OPT
>            Reporter: Aleksey Ignatenko
>         Attachments: test.zip
>
>
> Assertion failed - classloader.cpp:1521 on EUT jdtdebug suit. 
> Testcase:2 methods return the same type, 1-st method calls the 2-nd:
> class A;
> class B{
> static A getA(){return new A();}}
> class C{
> static A getA(){return B.getA();}}
> main: C.getA();
> JIT tries to resolve A class 2 times. If class is not accessable, classloader raises ClassNotfoundException 1-st time, JIT does not handle it, then when the 2-nd time JIT tries to resolve the same class VM fails with the assert on loading (because exception was already raised). 
> The issue here is that  JIT does not handle raised exception by classloader in 1 compilation session.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.