In particular, check that a Hibernate Search application can be started with Hibernate Search packaged as Java 9 modules, and that no "split package" errors occur.
Not that the modules need to be explicitly defined for this test to make sense; some restrictions are not enforced on unnamed modules (such as the "no split packages" constraint).
In order to define Java 9 modules in our Java 8 build, we should explore non-official tools such as [https://github.com/moditect/moditect]. We might decide to switch to JDK11 for our build (while still targeting Java 8) if moditect turns out not to fit our use case. |
|