You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "George Timoshenko (JIRA)" <ji...@apache.org> on 2006/10/12 13:07:37 UTC

[jira] Updated: (HARMONY-1802) [drlvm][jit] Jitrino.OPT does not handle unresolved method parameters properly

     [ http://issues.apache.org/jira/browse/HARMONY-1802?page=all ]

George Timoshenko updated HARMONY-1802:
---------------------------------------

    Attachment: HARMONY-1802.diff

Please consider the cumulative fix for the both:
- problem of unresolvable exception type
......(respective LinkingException helper call is generated instead of the methods body)
- problem of unresolvable parameter type
......(in prepass/translator constructor the problem type is replaced by NullObjectType. Necessary exception is thrown at the usage point of a parameter)

> [drlvm][jit] Jitrino.OPT does not handle unresolved method parameters properly
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-1802
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1802
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Mikhail Fursov
>         Attachments: HARMONY-1802.diff
>
>
> Jitrino.OPT does not handle unresolved method parameters properly. Here is the testcase.
> compile this code:
> public class Test {
> public static void main(String[] args) {
> foo(null);
> }
> static void foo(X x) {}
> }
> class X {
> }
> delete X.class file and run the test with -Xem:opt cmdline option.
> The same problem occurs if class X is exception handler parameter.

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