title: Where to put Java 9's module descriptor file?
body: <p>Say I have a directory structure like:</p>
  
  <pre><code>src
  +- main
     +- org.linuxdeveloper.space
        +- app
            +- Main.java
  </code></pre>
  
  <hr>
  
  <p>And <strong>module-info.java</strong>:</p>
  
  <pre><code>module example.module {
      requires jdk.unsupported;
  }
  </code></pre>
  
  <p>If only <code>Main.java</code> requires the module <code>jdk.unsupported</code> to function. Should I put module-info.java in the <code>app</code> directory, or in <code>org.linuxdeveloper.space</code> or in the source root?</p>
  
  <hr>
  
  <p><em>Content below no longer is necessary for the question.</em></p>
  
  <p><strong>Note:</strong>
  I  use <code>jdk.internal.misc.SharedSecrets</code> in my module which is not exported by default.</p>
  
  <p><strong>Update</strong>:
  Found StackWalker API, and will use that instead of SharedSecrets.</p>