[ 
https://issues.apache.org/jira/browse/LANG-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160237#comment-17160237
 ] 

Bruno P. Kinoshita commented on LANG-1514:
------------------------------------------

Hi [~ggregory] , I forgot to include this one in the changes.xml report. Sorry. 
Should I add it in a pull request now, so that it appears in the changelog 
after the next release? Bruno

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