Possible ClassCastException in PolicySetType and PolicyType

Description

The PolicySetType (method getOrderedEvaluatables) may lead to a ClassCastException because the objects retrieved from the additionalInformation list are not checked for their type before casting to an Evaluatable.
The PolicyType (method getOrderedRules) should better be checked with an isAssignableFrom instead of instanceof.

Environment

None

Status

Assignee

Unassigned

Reporter

Florian Huonder

Labels

None

Time tracking

1h

Priority

Major
Configure