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