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

ASF subversion and git services commented on SOLR-14290:
--------------------------------------------------------

Commit 6b6608186bf5dbee9ec1cdbe3bec8d3043ae2001 in solr's branch 
refs/heads/branch_9x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=6b66081 ]

SOLR-14290: Fix NPE by external users of SolrTestCaseJ4 (#739)



> Fix NPE in SolrTestCaseJ4 breaking external usage for master/9.x
> ----------------------------------------------------------------
>
>                 Key: SOLR-14290
>                 URL: https://issues.apache.org/jira/browse/SOLR-14290
>             Project: Solr
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 9.0
>         Environment: Solr Test Framework when run externally such that 
> ExternalPaths.SOURCE_HOME is null
>            Reporter: Gus Heck
>            Assignee: David Smiley
>            Priority: Blocker
>             Fix For: 9.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> A fix for this was provided on branch_8x in SOLR-14283 but that same fix 
> won't work in java 11 due to reflection restrictions that make it impossible 
> (AFAIK) to un-final a final variable. We will likely need to employ powermock 
> or our own java agent based solution, or redesign the way 
> ExternalPaths.determinSourceHome and ExternalPaths.SOURCE_HOME work. 
> 8.5 is coming up soon and we can't release with this broken in 8.5 so I'm 
> separating the more complicated 9x fix into this ticket.



--
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