| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit f869fa7fc3fbce76bc19745201bb62484dfc8efe.
|
|
|
|
| |
This reverts commit b0a398eaeadfaf12e31bcfef2e41892439db1149.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Stop exporting felix.log packages (org.osgi.service.log)
+ Completely remove felix.main (the felix launcher including
everything in felix.framework). This was probably never needed
by vespa.
* Add explicit felix.framework dep to vespa-osgi-testrunner and
standalone-container, as it's no longer included in container-dev.
(The packages are still exported by jdisc_core, so imports will be generated.)
* Add felix.framework to 'application', as it's needed for unit tests.
* Exclude animal-sniffer-annotations from felix.framework in parent.
Not needed anywhere by Vespa.
|
|
|
|
|
| |
- Artifact: com.google.inject.extensions:guice-assistedinject
- Package that was exported: com.google.inject.assistedinject
|
|
|
|
| |
.. and from jdisc_core
|
|
|
|
|
| |
- Test was deleted by accident instead of renamed
(old name: OsgiLogServiceIntegrationTest)
|
| |
|
| |
|
|
|
|
| |
+ suppress "removal" warnings.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Add FelixFramework.getBundles that takes a bundle context to
retrive bundles for.
|
|
|
|
|
|
|
|
|
|
| |
- Set 'org.osgi.framework.bsnversion' to 'managed'
- Add bundle collision/event hook to handle duplicates and their
lifecycle.
- Add unit tests for duplicate bundles.
o Add bundle 'l1-dup' which is a duplicate of the existing 'l1',
but returns a different value from its implemented class.
o Add bundle 'ml-dup' that is exactly the same as 'ml'
|
|
|
|
|
| |
- Has not been needed since we stopped using JSVC.
- NOTE: this commit stops providing it from Jdisc.
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Build jdisc_core_test test bundles right after compile
phase to still allow running 'mvn test'.
- Note that 'mvn compile' still fails because the
integration_test module tries to copy test jars in that phase.
|
| |
|
|
|
|
|
| |
- To avoid warnings due to Felix accessing non-public apis with
reflection.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Going via the framework/bundleContext does not work, because
it's class is loaded by the AppClassLoader, which will then be
used to lookup the service class. Since this is a unit test,
the class will be found on the class path but, since it's a
different class than the service class in the bundle, a class
cast check will fail, and the returned service ref will be null.
- Note that this worked on Felix <6.0 because an exception was
thrown (because the framework bundle does not export our service
class), which led to the class cast check being skipped
altogether.
See felix/framework:ExtensionManager.getClassByDelegation
(commit 3c147cb58a5)
|
|
|
|
|
| |
- The jdisc_core "bundle" now exports java.* packages, which
only the felix.framework system bundle is allowed to.
|
| |
|
|
|
|
|
| |
- When running tests in IntelliJ, classes from the two bundles
are confused.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Upgrade jaxb-api to 2.3.0 (packaged as osgi bundle)
=> our (and customer) bundles may now import this version
instead of the Java_SE one.
(Exposed via the container dependency.)
* Add TODO to remove org.w3c.dom.* packages from ExportPackages.
* Remove explicit org.w3c.dom from ExportPackages
(It was doubly present also with Java 8.)
|
|
|
|
|
|
| |
.. by opening package java.base/jdk.internal.loader
(See felix:ExtensionManager.addExtensionBundle
and SO post #50991819)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Upgrade jaxb-api to 2.3.0 (packaged as osgi bundle)
=> our (and customer) bundles may now import this version
instead of the Java_SE one.
(Exposed via the container dependency.)
* Add TODO to remove org.w3c.dom.* packages from ExportPackages.
* Remove explicit org.w3c.dom from ExportPackages
(It was doubly present also with Java 8.)
|
|
|
|
|
| |
.. by opening package java.base/jdk.internal.loader
(See felix:ExtensionManager.addExtensionBundle)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Upgrade jaxb-api to 2.3.0 (packaged as osgi bundle)
=> our (and customer) bundles may now import this version
instead of the Java_SE one.
(Exposed via the container dependency.)
* Add TODO to remove org.w3c.dom.* packages from ExportPackages.
* Remove explicit org.w3c.dom from ExportPackages
(It was doubly present also with Java 8.)
|
|
|
|
|
| |
.. by opening package java.base/jdk.internal.loader
(See felix:ExtensionManager.addExtensionBundle)
|
| |
|
| |
|
| |
|