title: Unnamed Modules cannot be read
body: <p>I got really nasty problem that I do not understand...</p>
  
  <ol>
  <li><p>We have a whole set of util-libraries written with jdk8 and no relation to jigsaw so we also do not have set the Automatic-Module-Name within the META-INF file.</p></li>
  <li><p>Now we need to migrate a product to java11 that uses these util-libraries.</p></li>
  <li>I created a module-info.java and entered all required modules but there are some problems with the util-libraries.</li>
  <li>Some of the util libraries are loaded as unnamed-modules and it is possible to add them as required modules. But for some other of these util-libraries it is not possible to add them because they do not get a module-name based on their jar-file.</li>
  </ol>
  
  <p>From my IDE I get the folloging error:</p>
  
  <p>package 'x' is declared in the unnamed module but module 'y' does not read it.</p>
  
  <p>package x is within one of our util-libraries and module y is the product that should be migrated to java11.</p>
  
  <p>Any ideas so that I can understand this problem?</p>
  
  <p>Best regards</p>