You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Uwe Schindler (Jira)" <ji...@apache.org> on 2023/01/06 07:56:00 UTC

[jira] [Updated] (SOLR-16167) Review static initializers that reference subclasses

     [ https://issues.apache.org/jira/browse/SOLR-16167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated SOLR-16167:
---------------------------------
    Attachment:     (was: StaticInitializerReferencesSubClass-1.xml)

> Review static initializers that reference subclasses
> ----------------------------------------------------
>
>                 Key: SOLR-16167
>                 URL: https://issues.apache.org/jira/browse/SOLR-16167
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: main (10.0)
>            Reporter: Michael Gibney
>            Priority: Major
>         Attachments: StaticInitializerReferencesSubClass.xml
>
>
> More general follow-up to SOLR-16165.
> There is the potential for classloading deadlock in the case where static initializers reference a subclass.
> This issue could cover 1 or 2 things:
> # Fix existing issues
> # Add a build check to prevent such issues from being introduced in the future
> Fixing existing issues should be relatively straightforward, once we're specifically looking for them. "in the wild" these are problematic enough that it's probably worth just fixing all such issues whether or not they manifest as deadlock in practice.
> It would be great if we could port/modify/leverage an existing implementation that already checks for this and have it apply automatically in the build, unless this approach proves impractical.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org