Browse Source

Merge pull request #247 from NingZhang-e/issue246

Clean Java doc to fix #246
tags/rel_3_25_0_ga
Shigeru Chiba 5 years ago
parent
commit
eff2f4bbd0
No account linked to committer's email address
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      src/main/javassist/ClassPool.java

+ 1
- 5
src/main/javassist/ClassPool.java View File

@@ -1246,11 +1246,7 @@ public class ClassPool {
* <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>.

Loading…
Cancel
Save