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

Bruno P. Kinoshita updated LANG-1514:
-------------------------------------
    Affects Version/s: 3.9

> Test may fail due to a different iteration order
> ------------------------------------------------
>
>                 Key: LANG-1514
>                 URL: https://issues.apache.org/jira/browse/LANG-1514
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.reflect.*
>    Affects Versions: 3.9
>            Reporter: contextshuffling
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>             Fix For: 3.10
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Test `testGetAllFieldsList` in `FieldUtilsTest` checks if method 
> `getAllFields` returns correct fields of a certain class.  `getAllFields` 
> depends on `java.lang.class.getDeclaredFields` to use reflection to get the 
> fields. However, `java.lang.class.getDeclaredFields` does not guarantee any 
> specific order of fields returned. Therefore, test will fail if the order 
> returned by the API is different.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to