eclipse-vertx / vert.x

Vert.x is a tool-kit for building reactive applications on the JVM
http://vertx.io
Other
14.32k stars 2.08k forks source link

JPMS preparation #5232

Closed vietj closed 4 months ago

vietj commented 5 months ago

Update the code to provide support for JPMS in Vert.x 5.

This contribution does not add JPMS support yet, it prepares the vertx-core artefacts to use JPMS.

The main motivations driving this effort are:

The pattern used to implement this is the following:

Users in practice will use the impl module, will see the api module but will not see the internal module unless they explicitly require it.

In the context of vertx-core the mapping is

This approach keeps the io.vertx.core package for vertx-core-api and preserves the backward compatibility of existing APIs. The internal API and the implementation however package names are changed in order to avoid a JPMS split package.

An alternative of https://github.com/eclipse-vertx/vert.x/pull/5233