Class GroovyClassValue

java.lang.Object
io.quarkus.test.common.GroovyClassValue

public final class GroovyClassValue extends Object
ClassValue are used in Groovy which causes memory leaks if not properly cleaned, but unfortunately, they are very complex to clean up, especially the ClassValue corresponding to system classes that must be cleaned too to avoid memory leaks moreover if not cleaned wisely errors of type MissingMethodException can be thrown, so we had better to simply disable them by setting the System property groovy.use.classvalue to false see GROOVY-7591 for more details.
  • Method Details

    • disable

      public static void disable()