Proposal: #ModuleNameCharacters (revised)
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Thu Jan 26 22:37:31 UTC 2017
2016/12/13 0:12:42 -0800, Rémi Forax <forax at univ-mlv.fr>:
> I think part of the problem is that currently the builder enforces some
> rules and it should not, the fact that a ModuleDescriptor is well
> formed or not should be checked by the configuration and not by the
> builder itself.
>
> ...
>
> Actions:
> - the builder should only build a descriptor and not check if it is
> well formed or not
> - when resolving the configuration, additional checks should be done to
> verify that a module descriptor is well formed
> - add a way to specify additional metadata to the module descriptor.
These changes would make the `ModuleDescriptor.Builder` API much less
usable for the vast majority of developers in order to make life a
little easier for the very, very few developers who need to violate
the constraints that it imposes.
I think that's the wrong tradeoff, so I'm not going to make these
changes.
- Mark
More information about the jpms-spec-experts
mailing list