mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
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:
parent
2e931825c6
commit
fbe85300bf
510 changed files with 16787 additions and 5365 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue