Uwe Schindler created LUCENE-10287:
--------------------------------------

             Summary: Add jdk.unsupported module to Luke startup script
                 Key: LUCENE-10287
                 URL: https://issues.apache.org/jira/browse/LUCENE-10287
             Project: Lucene - Core
          Issue Type: Bug
          Components: luke
    Affects Versions: 9.0
            Reporter: Uwe Schindler
            Assignee: Uwe Schindler


See my note on the JDK 9.0 release: When you start Luke (in module mode, as 
done by default), it won't use MMapDirectory when opening indexes. The reason 
is simple: It can't see sun.misc.Unsafe, which is needed to unmap mapped byte 
buffers. It will silently disable itsself (as it is not a hard dependency).

By default we should pass the "jdk.unsupported" module when starting Luke.

In case of a respin, this should be backported.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to