[
https://issues.apache.org/jira/browse/LUCENE-10287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454208#comment-17454208
]
ASF subversion and git services commented on LUCENE-10287:
----------------------------------------------------------
Commit d36c70cdd6f9002158706af2c2919d17fa14bc6a in lucene's branch
refs/heads/branch_9x from Uwe Schindler
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=d36c70c ]
LUCENE-10287: Add changes entry
> 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
> Priority: Major
> Fix For: 9.1, 10.0 (main), 9.x
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]