8169069: Module system implementation refresh (11/2016)

Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
This commit is contained in:
Alan Bateman 2016-12-01 08:57:53 +00:00
parent 2e931825c6
commit fbe85300bf
510 changed files with 16787 additions and 5365 deletions

View file

@ -233,10 +233,11 @@ public interface ModuleFinder {
* ModuleDescriptor.Version} and ignored if it cannot be parsed as
* a {@code Version}. </p></li>
*
* <li><p> For the module name, then all non-alphanumeric
* characters ({@code [^A-Za-z0-9])} are replaced with a dot
* ({@code "."}), all repeating dots are replaced with one dot,
* and all leading and trailing dots are removed. </p></li>
* <li><p> For the module name, then any trailing digits and dots
* are removed, all non-alphanumeric characters ({@code [^A-Za-z0-9]})
* are replaced with a dot ({@code "."}), all repeating dots are
* replaced with one dot, and all leading and trailing dots are
* removed. </p></li>
*
* <li><p> As an example, a JAR file named {@code foo-bar.jar} will
* derive a module name {@code foo.bar} and no version. A JAR file