Optional dependencies
Alan Bateman
Alan.Bateman at oracle.com
Mon Dec 7 08:42:09 UTC 2015
On 06/12/2015 22:31, Stephen Colebourne wrote:
> :
> However taking a step back, in order to support this type of release,
> command line flags are not an option. Since Joda-Beans is an OSS
> library, developers need to be able to "just use it". Telling
> developers that if they use this library they have to add a complex
> command line flag at runtime is simply not on.
>
> To me, the answers have identified a clear need for optional module
> dependencies in the jigsaw design, such that key information is not
> lost.
>
No argument that it would be a pain to have to use a command line
argument in this scenario but I'm not so sure that optional dependences
is really best way to do this. Instead, it looks like a scenario where
services might be a cleaner solution.
In any case, this is really something for the JSR and we aren't going to
decide anything here.
-Alan
More information about the jigsaw-dev
mailing list