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

Daniel Keir Haywood updated CAUSEWAY-2546:
------------------------------------------
          Component/s: Testing unittestsupport
        Fix Version/s:     (was: 2.1.0)
    Affects Version/s: 2.0.0-RC4

> [JUnit] CollectionLayout#sortedBy should be effective based on actual runtime 
> type 
> -----------------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-2546
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-2546
>             Project: Causeway
>          Issue Type: Improvement
>          Components: Core, Testing unittestsupport
>    Affects Versions: 2.0.0-RC4
>            Reporter: Andi Huber
>            Priority: Major
>              Labels: test-driven
>
> Double check whether for an entity that holds a relation of type Set<?> 
> annotated with @CollectionLayout, the framework actually applies the 
> specified comparator. (default is natural order).
> My suspicion is that it only does this for compile time type SortedSet<?>. We 
> might need to do a runtime type inspection, rather than rely on the 
> meta-model, which does compile time inspection.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to