title: Accessing com.sun.tools.javac.util from Java 9
body: <p>I'm trying to access the <code>List</code> class from <code>com.sun.tools.javac.util</code>. This works fine with Java 8, but when switching to Java 9 I get the following error: <code>Package 'com.sun.tools.javac.util' is declared in module "jdk.compiler", which does not export it to the unnamed module"</code>.</p>
  
  <p>I tried adding <code>requires jdk.compiler;</code> to my <code>module-info</code> file, but this did not solve the issue.</p>