groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <sun...@apache.org>
Subject Re: About the enhanced version of `Properties`, i.e. `GProperties`
Date Tue, 06 Nov 2018 15:06:29 GMT
Hi Andres,

     Because of the potential security issues, code execution is abandoned
now( SEE
https://github.com/apache/groovy/commit/1d20e307251aedde4f73abe879e2b548f2d16a17
).

     The idea of GProperties is from a big project I developed, it's really
useful in that project, so I want to share it with Groovy community and
rewrite the util class from scratch to make it not depend on any 3rd-party
lib.

     Current features are listed as follows:
1. Interpolating with {...} and escaping with {{...}}
2. Importing with import.properties
3. Getting property with the specified type
( SEE
https://github.com/apache/groovy/blob/master/src/main/groovy/groovy/util/GProperties.groovy
)

     As you can see, these are just some minor features, so I do not see any
risk to make Groovy become the next kitchen sink language IMHO.

     Thanks for your suggestion all the same :-)

Cheers,
Daniel.Sun





-----
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