Description
Following on from the discussion in the comments on WW-5268 - exempting classes from excluded packages should only be done if unavoidable.
Given this, I realised we should make the exemption logic more strict to prevent incorrect use and inadvertent exempting of more OGNL expressions than intended.
- Currently, the exempted classes also match against superclasses. This is unnecessary and we can match against only the specific class.
- Currently, an exemption against either the target or member class suffices. This can be made more strict by requiring an exemption for the class which matches the excluded package specifically, which could be either or both.
- The JavaDoc for the options should be very explicit in what each configuration option achieves to prevent incorrect uses.
Attachments
Issue Links
- relates to
-
WW-5268 Add configuration option to exempt classes from OGNL package exclusions
- Closed
- links to