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