I'm trying to setup the parent-first="false" ie. parent-policy "AFTER_BUT_JAVA_BEFORE" behavior and then add some package filters to it.
With plain ear deployed it's "AFTER_BUT_JAVA_BEFORE" by default, but when I add any java-classloading-domain.xml file (even the minimal one without any custom filters) the behavior switches to parent-first="true" ie. parent-policy "BEFORE" and then any potentionally added custom filters are combined with that (which is OK but I want to get the aame to work for "AFTER_BUT_JAVA_BEFORE").
I tried stuff like <parent-policy name="AFTER_BUT_JAVA_BEFORE"> which switches it to the desired state but then added filters have no effect.