groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <sun...@apache.org>
Subject Re: [PROPOSAL]Provide an option to generate stubs in in-momery file system for better compiling performance
Date Sat, 19 Jan 2019 15:44:43 GMT
Use `ClassLoader.getPlatformClassLoader()` instead to solve the issue.

GroovyClassLoader dependencyLoader = new GroovyClassLoader(new
URLClassLoader(urls, (ClassLoader)ClassLoader.getPlatformClassLoader()))

class loading changed in Java 9+. WTF!


Cheers,
Daniel.Sun




-----
Apache Groovy committer 
Blog: http://blog.sunlan.me 
Twitter: @daniel_sun 

--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Mime
View raw message