harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4342) [buildtest][vts] Test vm/jvms/instructions/invokeReturn/return/return02/return0201/return0201.xml is incorrect
Date Fri, 28 Dec 2007 13:35:43 GMT

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

Gregory Shimansky closed HARMONY-4342.
--------------------------------------


No response, assuming ok.

> [buildtest][vts] Test vm/jvms/instructions/invokeReturn/return/return02/return0201/return0201.xml
is incorrect
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4342
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4342
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Vera Petrashkova
>            Assignee: Gregory Shimansky
>         Attachments: return0201.patch
>
>
> This positive test checks that after return instruction 
> in some synchronized method, the monitor acquired or reentered on 
> invocation of the method is released or exited
> This test contains class return0201First which defines synchronized method  run() .
> Method run()  method contains monitorenter associated with array object 
> which should be used by another thread but it does not contains monitorexit 
> instruction.
> See source code 
> ------------return0201pFirst.jj---------------
> ;
> ; run method
> .method public synchronized run()V
>    .limit stack 1
>    .limit locals 2
>    
> ; get locker object from lockerField field and store it in local variable 1
>    aload_0
>    getfield org/apache/harmony/vts/test/vm/jvms/instructions/invokeReturn/return/return02/return0201/return0201pFirst/lockerField
[I
>    astore_1
> ; get a lock to locker object
>    aload_1
>    monitorenter
> ; return must unlock locker object
>    return
> .end method
> --------------------
> As the result RI throws IllegalMonitorStateException on this method.
> On Harmony this test fails.

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


Mime
View raw message