diff --git a/src/main/javassist/ClassPool.java b/src/main/javassist/ClassPool.java index 37f2acbd..7d8cde08 100644 --- a/src/main/javassist/ClassPool.java +++ b/src/main/javassist/ClassPool.java @@ -1246,11 +1246,7 @@ public Class toClass(CtClass ct, Class neighbor, ClassLoader loader, * getPackage() on the Class object returned * by toClass() will return a non-null object.

* - *

The jigsaw module introduced by Java 9 has broken this method. - * In Java 9 or later, the VM argument - * --add-opens java.base/java.lang=ALL-UNNAMED - * has to be given to the JVM so that this method can run. - *

+ *

The jigsaw module introduced by Java 9 has broken this method.

* * @param loader the class loader passed to toClass() or * the default one obtained by getClassLoader().