Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-800

Param order generated by BeanParamAnnotationProcessor is not stable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • java-chassis-1.1.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              yaohaishi Haishi Yao
              yaohaishi Haishi Yao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: