Open shorea opened 7 years ago
For Java 9 compatibility, at the very least please specify a stable "Automatic-Module-Name" in the jar manifests, and make sure there are no split packages across the different artifacts.
We use DynamoDB SDK 1.x in a OSGi container and have to build our own bundle. Would be great if the new SDK would be OSGi compatible from the start.
Any progress or info here? The split packages makes modularizing my app in Java 9+ effectively impossible.
@bennyflint Yes, there's been a few PR's merged that hopefully address some of these issues:
What is going on with this issue, is there any progress into getting OSGi supported in clientbuilder code?
If split packages are no longer an issue (I sure hope so) then adding support for Java 9+ modules may still be done using the ModiTect plugin. This way the codebase remains Java 8 compatible. The build would have to jump to Java 11 at a minimum if it's not done so already.
Make sure we play nice with the module systems in OSGI and Java9 (especially our detection of the default HTTP implementation). Ensure that we can provide modularized service clients to OSGI environments instead of a single uber jar containing the entire SDK.