[ 
https://issues.apache.org/jira/browse/OAK-4039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15167332#comment-15167332
 ] 

Alex Parvulescu commented on OAK-4039:
--------------------------------------

I assume this is responsible for the following errors in {{oak-it-osgi}}?
{code}
Running org.apache.jackrabbit.oak.osgi.OSGiIT
ERROR: Bundle org.apache.jackrabbit.oak-jcr [28] Error starting 
file:oak-it-osgi/target/test-bundles/oak-jcr.jar 
(org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.apache.jackrabbit.oak-jcr [28]: Unable to resolve 28.0: missing requirement 
[28.0] osgi.wiring.package; 
(osgi.wiring.package=org.apache.jackrabbit.oak.query))
org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.apache.jackrabbit.oak-jcr [28]: Unable to resolve 28.0: missing requirement 
[28.0] osgi.wiring.package; 
(osgi.wiring.package=org.apache.jackrabbit.oak.query)
        at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
        at 
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.apache.jackrabbit.oak-lucene [29] Error starting 
file:oak-it-osgi/target/test-bundles/oak-lucene.jar 
(org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.apache.jackrabbit.oak-lucene [29]: Unable to resolve 29.0: missing 
requirement [29.0] osgi.wiring.package; 
(osgi.wiring.package=org.apache.jackrabbit.oak.query))
org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.apache.jackrabbit.oak-lucene [29]: Unable to resolve 29.0: missing 
requirement [29.0] osgi.wiring.package; 
(osgi.wiring.package=org.apache.jackrabbit.oak.query)
        at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
        at 
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:744)
{code}

> The package o.a.j.o.query exposes multiple classes from unexported packages
> ---------------------------------------------------------------------------
>
>                 Key: OAK-4039
>                 URL: https://issues.apache.org/jira/browse/OAK-4039
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Francesco Mari
>            Assignee: Thomas Mueller
>             Fix For: 1.4, 1.3.17
>
>
> Multiple exported classes in {{org.apache.jackrabbit.oak.query}} use in their 
> public API other classes from unexported packages. 
> {{org.apache.jackrabbit.oak.query.plan.SelectorExecutionPlan}}, 
> {{org.apache.jackrabbit.oak.query.index.FilterImpl}}, and multiple classes 
> from {{org.apache.jackrabbit.oak.query.ast}} are used in the public APIs of 
> many other classes from {{org.apache.jackrabbit.oak.query}} but they are not 
> exported by their relative packages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to