You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "YaoHaishi (JIRA)" <ji...@apache.org> on 2018/08/08 03:41:00 UTC

[jira] [Updated] (SCB-800) Param order generated by BeanParamAnnotationProcessor is not stable

     [ https://issues.apache.org/jira/browse/SCB-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YaoHaishi updated SCB-800:
--------------------------
    Fix Version/s: java-chassis-1.1.0

> Param order generated by BeanParamAnnotationProcessor is not stable
> -------------------------------------------------------------------
>
>                 Key: SCB-800
>                 URL: https://issues.apache.org/jira/browse/SCB-800
>             Project: Apache ServiceComb
>          Issue Type: Bug
>            Reporter: YaoHaishi
>            Assignee: YaoHaishi
>            Priority: Major
>             Fix For: java-chassis-1.1.0
>
>
> BeanParamAnnotationProcessor process the params defined by setter methods in the order of the return value of getDeclaredMethods(). But getDeclaredMethods() does not gurantee the order of the returned array. As a result, the schemas generated by the same version of microservice instances may be different.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)