paulk-asert opened a new pull request, #3204:
URL: https://github.com/apache/groovy/pull/3204

   An extension class whose signatures need an optional dependency made every 
compilation fail when that dependency was absent, because the compile-time 
extension method cache let the NoClassDefFoundError escape. groovy-fx in the 
distribution's lib triggered this on any JDK without JavaFX.
   
   - AbstractExtensionMethodCache.scan now skips (with a warning) an extension 
class it cannot link, as the runtime already does
   - a module descriptor may list requiredClasses; if one cannot be loaded by 
the loader defining the extension classes, the module is deferred (FINE log)
   - after @Grab, Grape registers deferred modules whose required classes are 
now available and invalidates the compile-time extension method caches
   - groovy-fx declares requiredClasses=javafx.beans.binding.NumberBinding


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to