harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Zvolsky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3862) [drlvm][verifier] A subroutine splits execution into several ret instructions
Date Wed, 20 Jun 2007 13:15:26 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506524
] 

Ivan Zvolsky commented on HARMONY-3862:
---------------------------------------

If i'm not mistaken, the following scenario shows that the bytecode is incorrect:

1) 3: Sleep(10)
2) some exception(not j.l.Exception) is thrown, and handled by handler #2 (0-13:13)
3) 13: astore_2
4) 14: jsr 19 (we are entering subroutine 1, will return to 17, which is put on stack)
5) 19: astore_1 (let's say, local variable i1 now equals to 17)
6) 20-23: Sleep(20)
7) no exceptions occur
8) 26: goto 46
9) 46: jsr 37 (we are entering nested subroutine 2, will return to instruction 49)
10) 37: astore_3 (i3 = 49)
11) 38-41: Sleep(30) 
12) java.lang.Exception is thrown from 41, which can be handled only by handler #6 (20-52:52)
13) 52: pop (we don't care)
14) 53: ret i1 (this is the error, since we are in subroutine 2, and can't return from subroutine
1 while being in subroutine 2)



> [drlvm][verifier] A subroutine splits execution into several ret instructions
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-3862
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3862
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>         Environment: Harmony 5.0 M1
> Windows XP SP 2
> Eclipse 3.2
> OpenSSH_4.5p1
>            Reporter: James Roper
>
> I am using Eclipse with an external SSH client (the one bundled with Cygwin) to connect
to a CVS server (using the "ext" method in Eclipse).  It works fine when running Eclipse under
the Sun HotSpot JVM, however, with Harmony, Eclipse reports the following error:
> An internal error occured during: "Updating Synchronize view for CVS Workspace.".
> (class: org/eclipse/team/internal/core/subscribers/ContentComparator, method: compare(Ljava/lang/Object;Lorg/eclipse/core/runtime/IProgressMonitor;)Z)
A subroutine splits execution into several ret instructions
> If you need any more information about my environment, let me know.  Off topic, are these
the sort of bugs I should be reporting in JIRA?  I couldn't find any bugs that looked like
they were the same as this, I'm just a user trying out Milestone 1 because I want to help
the Harmony project.

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