Skip to content

Commit

Permalink
Merge pull request #247 from NingZhang-e/issue246
Browse files Browse the repository at this point in the history
Clean Java doc to fix #246
  • Loading branch information
chibash committed Feb 12, 2019
2 parents f36195c + f8ee3eb commit eff2f4b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/javassist/ClassPool.java
Expand Up @@ -1246,11 +1246,7 @@ public Class toClass(CtClass ct, Class<?> neighbor, ClassLoader loader,
* <code>getPackage()</code> on the <code>Class</code> object returned
* by <code>toClass()</code> will return a non-null object.</p>
*
* <p>The jigsaw module introduced by Java 9 has broken this method.
* In Java 9 or later, the VM argument
* <code>--add-opens java.base/java.lang=ALL-UNNAMED</code>
* has to be given to the JVM so that this method can run.
* </p>
* <p>The jigsaw module introduced by Java 9 has broken this method.</p>
*
* @param loader the class loader passed to <code>toClass()</code> or
* the default one obtained by <code>getClassLoader()</code>.
Expand Down

0 comments on commit eff2f4b

Please sign in to comment.