[
https://issues.apache.org/jira/browse/SOLR-14426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120235#comment-17120235
]
Erick Erickson commented on SOLR-14426:
---------------------------------------
[~mdrob] I fixed all the "auxiliary class" compile-time warnings in both Lucene
and Solr, but I don't remember there being as many as you and Alan reported.
What's the IntelliJ report magic? And can you run it again and see what what it
spits out? Maybe it spits out the usages rather than definitions?
[~romseygeek] could you run your "quick grep" over again and maybe attach the
output to this JIRA? I can spot-check to see how well your grep agrees with
compiler output.
Depending on the results, maybe we can close this JIRA.
> forbidden api error during precommit DateMathFunction
> -----------------------------------------------------
>
> Key: SOLR-14426
> URL: https://issues.apache.org/jira/browse/SOLR-14426
> Project: Solr
> Issue Type: Bug
> Components: Build
> Reporter: Mike Drob
> Assignee: Mike Drob
> Priority: Major
> Fix For: master (9.0)
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> When running `./gradlew precommit` I'll occasionally see
> {code}
> * What went wrong:
> Execution failed for task ':solr:contrib:analytics:forbiddenApisMain'.
> > de.thetaphi.forbiddenapis.ForbiddenApiException: Check for forbidden API
> > calls failed while scanning class
> > 'org.apache.solr.analytics.function.mapping.DateMathFunction'
> > (DateMathFunction.java): java.lang.ClassNotFoundException:
> > org.apache.solr.analytics.function.mapping.DateMathValueFunction (while
> > looking up details about referenced class
> > 'org.apache.solr.analytics.function.mapping.DateMathValueFunction')
> {code}
> `./gradlew clean` fixes this, but I don't understand what or why this
> happens. Feels like a gradle issue?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]