Java 9 build 148 causes trouble in Apache Lucene/Solr/Elasticsearch
Alan.Bateman at oracle.com
Sat Dec 10 05:25:22 UTC 2016
On 09/12/2016 23:06, Stephen Felts wrote:
> I would highly recommend running with _JAVA_OPTIONS=-Dsun.reflect.debugModuleAccessChecks=true
> It will tell you what add-options are required.
> One minor downside is that it will produce the warning in cases where the software is already correctly handling the exception from setAccessible, so there can be noise.
Yes, this is a useful property to debug cases where setAccessible fails
because the package is not exported or opened to the caller. There is
more on this in JEP 261.
More information about the core-libs-dev