@@ -315,7 +315,7 @@ private void initSearchCountMap() throws IOException {
315
315
m = new ChronicleMapAdapter (field , conf .getAverageKeySize (), conf .getEntries (), f );
316
316
} catch (IllegalArgumentException e ) {
317
317
logger .log (Level .SEVERE , String .format ("Could not create ChronicleMap for field %s in directory " +
318
- "'%s' due to invalid key size (%f) or number of entries: (%d):" ,
318
+ "'%s' due to invalid key size (%f) or number of entries: (%d):" ,
319
319
field , suggesterDir , conf .getAverageKeySize (), conf .getEntries ()), e );
320
320
return ;
321
321
} catch (Throwable t ) {
@@ -324,8 +324,14 @@ private void initSearchCountMap() throws IOException {
324
324
+ " , most popular completion disabled, if you are using "
325
325
+ "JDK9+ make sure to specify: "
326
326
+ "--add-exports java.base/jdk.internal.ref=ALL-UNNAMED "
327
- + "--add-exports java.base/jdk.internal.misc=ALL-UNNAMED "
328
- + "--add-exports java.base/sun.nio.ch=ALL-UNNAMED" , field , suggesterDir ), t );
327
+ + "--add-exports java.base/sun.nio.ch=ALL-UNNAMED "
328
+ + "--add-exports jdk.unsupported/sun.misc=ALL-UNNAMED "
329
+ + "--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED "
330
+ + "--add-opens jdk.compiler/com.sun.tools.javac=ALL-UNNAMED "
331
+ + "--add-opens java.base/java.lang=ALL-UNNAMED "
332
+ + "--add-opens java.base/java.lang.reflect=ALL-UNNAMED "
333
+ + "--add-opens java.base/java.io=ALL-UNNAMED "
334
+ + "--add-opens java.base/java.util=ALL-UNNAMED" , field , suggesterDir ), t );
329
335
return ;
330
336
}
331
337
0 commit comments