src/java.base/share/classes/java/lang/module/Resolver.java
changeset 53563 a4b7ea85d668
parent 47866 39db80b32b69
child 59133 580fb715b29d
equal deleted inserted replaced
53559:1ae0b76bb5df 53563:a4b7ea85d668
     1 /*
     1 /*
     2  * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   657 
   657 
   658     /**
   658     /**
   659      * Checks the readability graph to ensure that
   659      * Checks the readability graph to ensure that
   660      * <ol>
   660      * <ol>
   661      *   <li><p> A module does not read two or more modules with the same name.
   661      *   <li><p> A module does not read two or more modules with the same name.
   662      *   This includes the case where a module reads another another with the
   662      *   This includes the case where a module reads another module with the
   663      *   same name as itself. </p></li>
   663      *   same name as itself. </p></li>
   664      *   <li><p> Two or more modules in the configuration don't export the same
   664      *   <li><p> Two or more modules in the configuration don't export the same
   665      *   package to a module that reads both. This includes the case where a
   665      *   package to a module that reads both. This includes the case where a
   666      *   module {@code M} containing package {@code p} reads another module
   666      *   module {@code M} containing package {@code p} reads another module
   667      *   that exports {@code p} to {@code M}. </p></li>
   667      *   that exports {@code p} to {@code M}. </p></li>