You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Uwe Schindler (Jira)" <ji...@apache.org> on 2021/12/06 19:26:00 UTC
[jira] [Resolved] (LUCENE-10287) Add jdk.unsupported module to Luke startup script
[ https://issues.apache.org/jira/browse/LUCENE-10287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler resolved LUCENE-10287.
------------------------------------
Resolution: Fixed
> 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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org