Re: [parent] Possibe change to moditect configuration for internal packages

2024-07-04 Thread Gary Gregory
OK, sounds good. Gary On Thu, Jul 4, 2024, 10:15 AM Alex Herbert wrote: > Sealed classes are for restricted inheritance. This is not applicable here. > In the RNG module a whole set of utility classes have been placed in an > 'internal' package. Given that these should not be used directly I th

Re: [parent] Possibe change to moditect configuration for internal packages

2024-07-04 Thread Alex Herbert
Sealed classes are for restricted inheritance. This is not applicable here. In the RNG module a whole set of utility classes have been placed in an 'internal' package. Given that these should not be used directly I think the module exports can omit this package. The moditect plugin provides example

Re: [parent] Possibe change to moditect configuration for internal packages

2024-07-04 Thread Gary Gregory
Can this alternatively be solved with Java's sealed class feature? That would require Java 17 though... Gary On Thu, Jul 4, 2024, 9:18 AM Alex Herbert wrote: > The RNG component has an internal package. So to not export this in the > module info I had to tweak the exports for moditect inherited

[parent] Possibe change to moditect configuration for internal packages

2024-07-04 Thread Alex Herbert
The RNG component has an internal package. So to not export this in the module info I had to tweak the exports for moditect inherited from commons parent with a profile: java-9-up [9,) org.moditect moditect-maven-p