Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.9
-
None
Description
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.
Attachments
Issue Links
- links to