[ 
https://issues.apache.org/jira/browse/LUCENE-10339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17465632#comment-17465632
 ] 

Uwe Schindler commented on LUCENE-10339:
----------------------------------------

The optional declaration won't change anything by default (it won't load 
automatically). It is more for "documentation purposes".

Sorry I misunderstood your statement.

In general I will start a PR and discussion to allow minimal logging as this 
gets more and more important for users. So code should only be allowed to log 
with warn or error level (let's forbid the others) in Lucene core. So we can 
verbose inform users that mmap won't work or ram calculations are off. As it 
goes through java.util.logging any Server like Solr or Elasticsearch can easily 
redirect it to their main logging.

> Add require derective for jdk.management to core's module descriptor.
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-10339
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10339
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Tomoko Uchida
>            Priority: Major
>         Attachments: Screenshot from 2021-12-25 18-04-55.png, Screenshot from 
> 2021-12-25 20-11-38.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> IntelliJ IDEA warns as follows in o.a.l.u.RamUsageEstimator.
>  !Screenshot from 2021-12-25 18-04-55.png! 
>  !Screenshot from 2021-12-25 20-11-38.png! 
> This means we would need "require" or "require static" directive(s) in core's 
> module descriptor to make RamUsageEstimator correctly work.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to