You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Pervov (JIRA)" <ji...@apache.org> on 2007/01/24 12:41:49 UTC

[jira] Created: (HARMONY-3048) [drlvm][classloader] Assertion !exn_raised() fails in method invocation

[drlvm][classloader] Assertion !exn_raised() fails in <clinit> method invocation
--------------------------------------------------------------------------------

                 Key: HARMONY-3048
                 URL: https://issues.apache.org/jira/browse/HARMONY-3048
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Pavel Pervov
            Priority: Minor


Exception is raised during constraints check for the super class but super class' state is not changed to ST_Error, thus this class' <clinit> is attempted to be executed.

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


[jira] Updated: (HARMONY-3048) [drlvm][classloader] Assertion !exn_raised() fails in method invocation

Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Pervov updated HARMONY-3048:
----------------------------------

    Attachment: H3048.patch

This patch is intended to fix the issue reported.

> [drlvm][classloader] Assertion !exn_raised() fails in <clinit> method invocation
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-3048
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3048
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Pervov
>            Priority: Minor
>         Attachments: H3048.java, H3048.patch
>
>
> Exception is raised during constraints check for the super class but super class' state is not changed to ST_Error, thus this class' <clinit> is attempted to be executed.

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


[jira] Commented: (HARMONY-3048) [drlvm][classloader] Assertion !exn_raised() fails in method invocation

Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468272 ] 

Pavel Pervov commented on HARMONY-3048:
---------------------------------------

AFAIU, verification of a class should not change its state to error.

> [drlvm][classloader] Assertion !exn_raised() fails in <clinit> method invocation
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-3048
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3048
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Pervov
>            Priority: Minor
>         Attachments: H3048.java, H3048.patch
>
>
> Exception is raised during constraints check for the super class but super class' state is not changed to ST_Error, thus this class' <clinit> is attempted to be executed.

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


[jira] Commented: (HARMONY-3048) [drlvm][classloader] Assertion !exn_raised() fails in method invocation

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468262 ] 

Alexey Varlamov commented on HARMONY-3048:
------------------------------------------

Hmm, from your description it looks as that more correct fix would be to change state of superclass and assert that exception is raised?

> [drlvm][classloader] Assertion !exn_raised() fails in <clinit> method invocation
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-3048
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3048
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Pervov
>            Priority: Minor
>         Attachments: H3048.java, H3048.patch
>
>
> Exception is raised during constraints check for the super class but super class' state is not changed to ST_Error, thus this class' <clinit> is attempted to be executed.

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


[jira] Updated: (HARMONY-3048) [drlvm][classloader] Assertion !exn_raised() fails in method invocation

Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Pervov updated HARMONY-3048:
----------------------------------

    Attachment: H3048.java

The test to reproduce the issue.

> [drlvm][classloader] Assertion !exn_raised() fails in <clinit> method invocation
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-3048
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3048
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Pervov
>            Priority: Minor
>         Attachments: H3048.java
>
>
> Exception is raised during constraints check for the super class but super class' state is not changed to ST_Error, thus this class' <clinit> is attempted to be executed.

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


[jira] Commented: (HARMONY-3048) [drlvm][classloader] Assertion !exn_raised() fails in method invocation

Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467049 ] 

Pavel Pervov commented on HARMONY-3048:
---------------------------------------

To reproduce the failure one have to compile the test and then remove MyException.class.

> [drlvm][classloader] Assertion !exn_raised() fails in <clinit> method invocation
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-3048
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3048
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Pervov
>            Priority: Minor
>         Attachments: H3048.java, H3048.patch
>
>
> Exception is raised during constraints check for the super class but super class' state is not changed to ST_Error, thus this class' <clinit> is attempted to be executed.

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


[jira] Assigned: (HARMONY-3048) [drlvm][classloader] Assertion !exn_raised() fails in method invocation

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky reassigned HARMONY-3048:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm][classloader] Assertion !exn_raised() fails in <clinit> method invocation
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-3048
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3048
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Pervov
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: H3048.java, H3048.patch
>
>
> Exception is raised during constraints check for the super class but super class' state is not changed to ST_Error, thus this class' <clinit> is attempted to be executed.

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


[jira] Closed: (HARMONY-3048) [drlvm][classloader] Assertion !exn_raised() fails in method invocation

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky closed HARMONY-3048.
--------------------------------------

    Resolution: Fixed

Patch and regression test committed at 508067.

> [drlvm][classloader] Assertion !exn_raised() fails in <clinit> method invocation
> --------------------------------------------------------------------------------
>
>                 Key: HARMONY-3048
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3048
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Pervov
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: H3048.java, H3048.patch
>
>
> Exception is raised during constraints check for the super class but super class' state is not changed to ST_Error, thus this class' <clinit> is attempted to be executed.

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