Proposal: #VersionedDependences

Stephen Colebourne scolebourne at joda.org
Mon Dec 12 00:09:41 UTC 2016


On 9 December 2016 at 21:46,  <mark.reinhold at oracle.com> wrote:
> When compiling a module that depends on some other modules, record the
> version strings of those modules, if available, in the resulting module
> descriptor.

Overall this seems like a good idea, for diagnostic reasons.

> Now that compile-time versions can be recorded in module descriptors
> there is even less need to tolerate version information in module names,
> a bad practice that we'd like to discourage at the outset.  We therefore
> further propose to:
>
>   - Revise the accepted proposal for #VersionsInModuleNames [3] to state
>     that a module name appearing anywhere in a source-form module
>     declaration must both start and end with "Java letters" [4].

I continue to think that this is unwise. There are legitimate reasons
for projects to want to have a number at the end of the project name -
fabric8 and lang3 being mentioned already.

Stephen


More information about the jigsaw-dev mailing list