groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Wagenleitner <>
Subject Recent commit breaks gradle builds
Date Sun, 18 Sep 2016 23:49:49 GMT
A recent commit [1] to ClassInfo changed a private field from a Class to a
WeakReference<Class> (to address memory leaks).  In testing a project with
the latest snapshot as a dependency, the compileGroovy task fails [2]
because that field is referenced in an internal Gradle
class LeakyOnJava7GroovySystemLoader [3].

I haven't reported it yet on the Gradle forums yet, thought I'd post here
first since I know there's some Gradle folks on here to see what you
thought would be the best way to approach this (i.e., report, revert our
change, etc.).


[2] > Could not shut down the Groovy system for
Caused by: java.lang.ClassCastException: java.lang.ref.WeakReference cannot
be cast to java.lang.Class


View raw message