You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org> on 2008/04/26 19:42:55 UTC

[jira] Created: (TUSCANY-2273) Return value of a method with @Init and @Destroy annotations must be a void

Return value of a method with @Init and @Destroy annotations must be a void
---------------------------------------------------------------------------

                 Key: TUSCANY-2273
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2273
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Java Implementation Extension, Java SCA Verification Tests
    Affects Versions: Java-SCA-1.2
            Reporter: Vamsavardhana Reddy
            Assignee: Vamsavardhana Reddy
             Fix For: Java-SCA-Next


Java Common Annotations and APIs v1.00:

Sec 1.8.8 @Destroy - Lines 1226 and 1227:
1226 .... The method must have a void return value and 
1227 no arguments. ....

Sec 1.8.11 @Init - Lines 1291 and 1292:
1291 ....The method must have a void return value and no
1292 arguments. ....

Currently the code checks only for no arguments but not the return type.


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


[jira] Resolved: (TUSCANY-2273) Return value of a method with @Init and @Destroy annotations must be a void

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws resolved TUSCANY-2273.
---------------------------------

    Resolution: Fixed

Thanks for the patch Vamsi. Committed at r652543

> Return value of a method with @Init and @Destroy annotations must be a void
> ---------------------------------------------------------------------------
>
>                 Key: TUSCANY-2273
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2273
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Java Implementation Extension, Java SCA Verification Tests
>    Affects Versions: Java-SCA-1.2
>            Reporter: Vamsavardhana Reddy
>            Assignee: Simon Laws
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2273.patch
>
>
> Java Common Annotations and APIs v1.00:
> Sec 1.8.8 @Destroy - Lines 1226 and 1227:
> 1226 .... The method must have a void return value and 
> 1227 no arguments. ....
> Sec 1.8.11 @Init - Lines 1291 and 1292:
> 1291 ....The method must have a void return value and no
> 1292 arguments. ....
> Currently the code checks only for no arguments but not the return type.

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


[jira] Updated: (TUSCANY-2273) Return value of a method with @Init and @Destroy annotations must be a void

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy updated TUSCANY-2273:
-----------------------------------------

    Attachment: TUSCANY-2273.patch

TUSCANY-2273.patch:  Throws an exception if the return type is not void.

> Return value of a method with @Init and @Destroy annotations must be a void
> ---------------------------------------------------------------------------
>
>                 Key: TUSCANY-2273
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2273
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Java Implementation Extension, Java SCA Verification Tests
>    Affects Versions: Java-SCA-1.2
>            Reporter: Vamsavardhana Reddy
>            Assignee: Vamsavardhana Reddy
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2273.patch
>
>
> Java Common Annotations and APIs v1.00:
> Sec 1.8.8 @Destroy - Lines 1226 and 1227:
> 1226 .... The method must have a void return value and 
> 1227 no arguments. ....
> Sec 1.8.11 @Init - Lines 1291 and 1292:
> 1291 ....The method must have a void return value and no
> 1292 arguments. ....
> Currently the code checks only for no arguments but not the return type.

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


[jira] Closed: (TUSCANY-2273) Return value of a method with @Init and @Destroy annotations must be a void

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy closed TUSCANY-2273.
----------------------------------------


> Return value of a method with @Init and @Destroy annotations must be a void
> ---------------------------------------------------------------------------
>
>                 Key: TUSCANY-2273
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2273
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Java Implementation Extension
>    Affects Versions: Java-SCA-1.2
>            Reporter: Vamsavardhana Reddy
>            Assignee: Simon Laws
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2273.patch
>
>
> Java Common Annotations and APIs v1.00:
> Sec 1.8.8 @Destroy - Lines 1226 and 1227:
> 1226 .... The method must have a void return value and 
> 1227 no arguments. ....
> Sec 1.8.11 @Init - Lines 1291 and 1292:
> 1291 ....The method must have a void return value and no
> 1292 arguments. ....
> Currently the code checks only for no arguments but not the return type.

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


[jira] Assigned: (TUSCANY-2273) Return value of a method with @Init and @Destroy annotations must be a void

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws reassigned TUSCANY-2273:
-----------------------------------

    Assignee: Simon Laws  (was: Vamsavardhana Reddy)

> Return value of a method with @Init and @Destroy annotations must be a void
> ---------------------------------------------------------------------------
>
>                 Key: TUSCANY-2273
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2273
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Java Implementation Extension, Java SCA Verification Tests
>    Affects Versions: Java-SCA-1.2
>            Reporter: Vamsavardhana Reddy
>            Assignee: Simon Laws
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2273.patch
>
>
> Java Common Annotations and APIs v1.00:
> Sec 1.8.8 @Destroy - Lines 1226 and 1227:
> 1226 .... The method must have a void return value and 
> 1227 no arguments. ....
> Sec 1.8.11 @Init - Lines 1291 and 1292:
> 1291 ....The method must have a void return value and no
> 1292 arguments. ....
> Currently the code checks only for no arguments but not the return type.

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


[jira] Updated: (TUSCANY-2273) Return value of a method with @Init and @Destroy annotations must be a void

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy updated TUSCANY-2273:
-----------------------------------------

    Component/s:     (was: Java SCA Verification Tests)

> Return value of a method with @Init and @Destroy annotations must be a void
> ---------------------------------------------------------------------------
>
>                 Key: TUSCANY-2273
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2273
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Java Implementation Extension
>    Affects Versions: Java-SCA-1.2
>            Reporter: Vamsavardhana Reddy
>            Assignee: Simon Laws
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2273.patch
>
>
> Java Common Annotations and APIs v1.00:
> Sec 1.8.8 @Destroy - Lines 1226 and 1227:
> 1226 .... The method must have a void return value and 
> 1227 no arguments. ....
> Sec 1.8.11 @Init - Lines 1291 and 1292:
> 1291 ....The method must have a void return value and no
> 1292 arguments. ....
> Currently the code checks only for no arguments but not the return type.

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