RE: new MOP under Java9 module system findings

2018-04-03 Thread mg
oovy 3.0 Java lambda support compare to Painless ? Cheers,mg Ursprüngliche Nachricht Von: Uwe Schindler Datum: 02.04.18 12:11 (GMT+01:00) An: dev@groovy.apache.org, 'Jochen Theodorou' , d...@groovy.incubator.apache.org Betreff: RE: new MOP under Java9 module system

RE: new MOP under Java9 module system findings

2018-04-03 Thread mg
oovy 3.0 Java lambda support compare to Painless ? Cheers,mg Ursprüngliche Nachricht Von: Uwe Schindler Datum: 02.04.18 12:11 (GMT+01:00) An: dev@groovy.apache.org, 'Jochen Theodorou' , d...@groovy.incubator.apache.org Betreff: RE: new MOP under Java9 module system

RE: new MOP under Java9 module system findings

2018-04-02 Thread Uwe Schindler
Hi Jochen, > [...] > > Yes, that script language was designed from scratch with only > invokedynamic and MethodHandles in mind. > > which I guess means no mop at all, or nothing beyond a missing method Exactly. As said between the lines, painless scripts cannot define own classes (only indirect

Re: new MOP under Java9 module system findings

2018-04-02 Thread Jochen Theodorou
On 02.04.2018 12:11, Uwe Schindler wrote: [...] Yes, that script language was designed from scratch with only invokedynamic and MethodHandles in mind. which I guess means no mop at all, or nothing beyond a missing method It also uses a pure whitelist-approach (explicit whitelisting what you c

RE: new MOP under Java9 module system findings

2018-04-02 Thread Uwe Schindler
Hi, > I think I found the article I was referring to: > https://www.compose.com/articles/elasticsearch-security-update-groovy- > scripting-dropped/ > (2015-03): > "After talking with the Groovy developers, Elasticsearch have decided > that Groovy will never be sufficiently safe in a sandbox and ha

Re: new MOP under Java9 module system findings

2018-04-01 Thread MG
I think I found the article I was referring to: https://www.compose.com/articles/elasticsearch-security-update-groovy-scripting-dropped/ (2015-03): "After talking with the Groovy developers, Elasticsearch have decided that Groovy will never be sufficiently safe in a sandbox and have removed it

Re: new MOP under Java9 module system findings

2018-04-01 Thread Jochen Theodorou
On 01.04.2018 19:58, MG wrote: Hi Jochen, I just thought about some post by another project I read some time back (alas I can no longer remember which project exactly) which used Groovy as its scripting language, but switched to a lesser, more restrictive scripting option, because they needed

Re: new MOP under Java9 module system findings

2018-04-01 Thread MG
Hi Jochen, I just thought about some post by another project I read some time back (alas I can no longer remember which project exactly) which used Groovy as its scripting language, but switched to a lesser, more restrictive scripting option, because they needed to make the scripting more secu