harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander D Shipilov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2504) [drlvm] If method throws exception after monitorenter, JIT does not release the lock.
Date Wed, 20 Dec 2006 15:13:27 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2504?page=comments#action_12459962 ] 
            
Alexander D Shipilov commented on HARMONY-2504:
-----------------------------------------------

Evgueni,
 Test2.class should be compiled from Test2.j source. Jasmin compiler should be used. It is
a java-assembler language. Test2 couldn't be compiled using common java language. You can
use already compiled Test2.class in the attachement.

Alexander

> [drlvm] If method throws exception after monitorenter, JIT does not release the lock.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2504
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2504
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Intel x86 IA32, WinXP
>            Reporter: Alexander D Shipilov
>         Attachments: Harmony-2504test.zip
>
>
>  Thread makes monitorenter, and throws exception (NPE) to the output.
> java.lang.IllegalMonitorStateException expected to appear at the output
> (because, according to the specification, the last exception should appear).
> Then other thread tries to get a lock.
> DRLVM hangs up. It's throws NPE instead of IllegalMonitorStateException and does not
release the
> lock.

-- 
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