RE: Java 9 build 148 causes trouble in Apache Lucene/Solr/Elasticsearch

2016-12-16 Thread Uwe Schindler
is not allowed if we do a release of Lucene. Uwe - Uwe Schindler uschind...@apache.org ASF Member, Apache Lucene PMC / Committer Bremen, Germany http://lucene.apache.org/ > -Original Message- > From: Jochen Theodorou [mailto:blackd...@gmx.org] > Sent: Saturday, December 1

RE: Java 9 build 148 causes trouble in Apache Lucene/Solr/Elasticsearch

2016-12-26 Thread Uwe Schindler
Hi, sorry for the delay! I updated Lucene's build system to use the JFrog snapshort artifacts and build succeeds with JDK 9 b148+: That's the one that was choosen by Apache Ant's Ivy downloader: groovy-all-2.4.8-20161220.101835-40.jar So we are waiting for a release! Uwe

RE: [VOTE] Release Groovy 2.4.8

2017-01-10 Thread Uwe Schindler
Hi, This also delays fixing Lucene‘s build system for our release Lucene 6.4, so we can test Java 9 build 148+. So it’s a pity! Uwe - Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de <http://www.thetaphi.de/> eMail: u...@thetaphi.de From: Cédric Ch

RE: [ANNOUNCE] Apache Groovy 2.4.8 released

2017-01-16 Thread Uwe Schindler
Thank you very much! Release process of Apache Lucene/Solr already started on Saturday, as our build and testing now works again with Java 9! Many thanks. Uwe - Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- >

RE: using jdk9 specific API in the Groovy build

2017-06-04 Thread Uwe Schindler
ich is very important). Maybe this helps with licensing. Uwe - Uwe Schindler uschind...@apache.org ASF Member, Apache Lucene PMC / Committer Bremen, Germany http://lucene.apache.org/ > -Original Message- > From: Jochen Theodorou [mailto:blackd...@gmx.org] > Sent:

RE: trySetAccessible for Java 9

2017-07-05 Thread Uwe Schindler
to make the MethodHandle a static final constant somewhere! This removed the need for a if/then/else on every call. I may provide a patch, if you like. I’d just need some directions where to look at. Should be a 10 liner. Uwe - Uwe Schindler uschind...@apache.org ASF Member

RE: trySetAccessible for Java 9

2017-07-05 Thread Uwe Schindler
initializer, if not there set to NULL * In the makeAccessible method check for nullness of methodhandle: if null proceed as before, if not do a for-loop and call trySetAccesible() on all, ignoring return value. - Uwe Schindler uschind...@apache.org ASF Member, Apache Lucene PMC

RE: trySetAccessible for Java 9

2017-07-05 Thread Uwe Schindler
daemon! Uwe ----- Uwe Schindler uschind...@apache.org ASF Member, Apache Lucene PMC / Committer Bremen, Germany http://lucene.apache.org/ From: Uwe Schindler [mailto:uschind...@apache.org] Sent: Wednesday, July 5, 2017 7:27 PM To: dev@groovy.apache.org; cchamp...@apache.org Subje

RE: trySetAccessible for Java 9

2017-07-05 Thread Uwe Schindler
Uwe ----- Uwe Schindler uschind...@apache.org ASF Member, Apache Lucene PMC / Committer Bremen, Germany http://lucene.apache.org/ From: Cédric Champeau [mailto:cchamp...@apache.org] Sent: Wednesday, July 5, 2017 8:12 PM To: Uwe Schindler Cc: dev@groovy.apache.org Subject

RE: trySetAccessible for Java 9

2017-07-09 Thread Uwe Schindler
can corrupt the whole JVM. This is also one reason why Elasticsearch moved to their own scripting language, as the cowboy “setAccessible” everywhere is a serious security issue! Uwe - Uwe Schindler uschind...@apache.org ASF Member, Apache Lucene PMC / Committer Bremen, Germany http

RE: trySetAccessible for Java 9

2017-07-09 Thread Uwe Schindler
while trying to “compile-groovy” ant task (I think that’s related to the above). Uwe - Uwe Schindler uschind...@apache.org ASF Member, Apache Lucene PMC / Committer Bremen, Germany http://lucene.apache.org/ From: Uwe Schindler [mailto:uschind...@apache.org] Sent: Sunday, July 9

RE: trySetAccessible for Java 9

2017-07-09 Thread Uwe Schindler
methodhandle to one single call using bindto and other magic, so we don’t need 2 calls! Uwe - Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de <http://www.thetaphi.de/> eMail: u...@thetaphi.de From: Uwe Schindler [mailto:uschind...@apache.org] Sent: Sunday,

RE: trySetAccessible for Java 9

2017-07-09 Thread Uwe Schindler
consider reporting this to the maintainers of worker.org.gradle.internal.reflect.JavaMethod WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Uwe - Uwe Schindler

RE: Removing our use of sun.misc.Unsafe

2017-10-13 Thread Uwe Schindler
FYI, getting Unsafe does not print a warning, as reflection is "open" on the jdk.unsupported module. This was decided in JEP 260. Uwe - Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From:

Re: Compiling groovy with java9 using maven with spring boot

2017-11-19 Thread Uwe Schindler
7-11-20 8:20 GMT+01:00 Daniel Sun : >> >>> Hi Cédric, >>> >>> I do not know who contributed the module-info, which seems to >exist >>> for a long time. >>> >>> Cheers, >>> Daniel.Sun >>> >>> >>> >>> -- >>> Sent from: >http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html >>> >> >> -- Uwe Schindler Achterdiek 19, 28357 Bremen https://www.thetaphi.de

RE: About the native lambda

2017-12-22 Thread Uwe Schindler
somebody with no knowledge about bytecode and how lambdas work in a single 5 page blog post! Uwe - Uwe Schindler uschind...@apache.org ASF Member, Apache Lucene PMC / Committer Bremen, Germany http://lucene.apache.org/ From: Remi Forax [mailto:fo...@univ-mlv.fr] Sent: Friday

RE: About the native lambda

2017-12-22 Thread Uwe Schindler
/DefBootstrap.java Uwe - Uwe Schindler uschind...@apache.org ASF Member, Apache Lucene PMC / Committer Bremen, Germany http://lucene.apache.org/ From: Uwe Schindler [mailto:uschind...@apache.org] Sent: Friday, December 22, 2017 2:53 PM To: dev@groovy.apache.org Cc: fo...@univ

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-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: Cannot build Groovy "out of the box"

2018-08-18 Thread Uwe Schindler
. >=== >Dr Russel Winder t: +44 20 7585 2200 >41 Buckmaster Roadm: +44 7770 465 077 >London SW11 1EN, UK w: www.russel.org.uk -- Uwe Schindler Achterdiek 19, 28357 Bremen https://www.thetaphi.de

Re: About the tests failed on JDK16

2021-06-13 Thread Uwe Schindler
Hi, In JDK 17 the illegal-access flag is ignored and you can't open the internals anymore. So you need a long term solution. Uww Am June 13, 2021 9:22:17 AM UTC schrieb Daniel Sun : >FYI. "the default value of the launcher option --illegal-access is now >deny rather than permit" > >See also >ht