Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10287

Add jdk.unsupported module to Luke startup script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 9.0
    • None
    • luke
    • None
    • New

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              uschindler Uwe Schindler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h