[
https://issues.apache.org/jira/browse/OAK-6318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192874#comment-16192874
]
Robert Munteanu commented on OAK-6318:
--------------------------------------
[~stillalex] - so if I read the changes correctly, you copied the classes using
the exact same package name ( {{org.apache.jackrabbit.oak.plugins.tree}} ) in
both oak-core and oak-security-spi and exported them from both bundles? That's
unstable from an OSGi point of view since some bundles might be bound to the
import from oak-core and some might be bound to the import from
oak-security-spi.
I did not follow the whole discussion, but maybe copy the affected classes to a
new package and a new bundle would solve the issue? If there is no way to do
this outside of splitting the package, [~karlpauls] might be able to help, but
I suggest that you try and remove the whole split package thing first.
> Refactor oak.spi.security into a separate module/bundle
> -------------------------------------------------------
>
> Key: OAK-6318
> URL: https://issues.apache.org/jira/browse/OAK-6318
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: core, security
> Reporter: angela
> Assignee: angela
> Attachments: PropInfo.patch
>
>
> In the light of the modularization effort it would IMHO make a lot of sense
> to refactor _oak.spi.security.*_ into a separate module/bundle that could be
> release independent of _oak-core_.
> As far as I could see so far this is currently not easily doable due to the
> dependency of {{oak.spi.security.*}} on {{oak.plugins.tree}}, which in turn
> relies on {{o.a.j.oak.query.QueryEngineSettings}} and other oak-core
> internals (see also OAK-6304). Most likely this issue would therefore require
> a complete review (and possibly a split) of the {{oak.plugins.tree}} package
> space which contains a mixture of utilities and 'API' (like e.g.
> {{TreeContext}} and {{TreeLocation}})... will open a separate issue for this
> linking to this one.
> cc: [~stillalex], [~rombert], [~mduerig], [~tmueller]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)