Skip to content

Banned Packages, Classes and Methods

brachy84 edited this page Jul 8, 2022 · 1 revision

Packages

Classes and methods in following packages are not accessible from Groovy!

java.io
java.nio
java.lang.reflect
java.lang.invoke
java.net
java.rmi
java.security
groovy
sun.reflect

Classes

Following classes are not accessible from Groovy!

ClassLoader.class
Runtime.class

Methods

Following methods are not accessible from Groovy!

System.exit()
System.gc()
Clone this wiki locally