osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (CALCITE-2566) Certain rules might cause class initialization deadlock due to sub-class referenced in <clinit>


Vladimir Sitnikov created CALCITE-2566:
------------------------------------------

             Summary: Certain rules might cause class initialization deadlock due to sub-class referenced in <clinit>
                 Key: CALCITE-2566
                 URL: https://issues.apache.org/jira/browse/CALCITE-2566
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.17.0
            Reporter: Vladimir Sitnikov
            Assignee: Julian Hyde
         Attachments: incorrect_class_initalization.png

List of impacted classes: AbstractMaterializedViewRule, ClassDeclarationFinder, FilterJoinRule, ProjectToWindowRule, ReduceExpressionsRule, SemiJoinRule, SqlDialect, SubQueryRemoveRule

The problem is super-class <clinit> references sub-class.

The sad thing is those fields are {{public}}.

Example: https://github.com/apache/calcite/blob/323200507b72fec152e2f557b3f7f2209a042fe4/core/src/main/java/org/apache/calcite/rel/rules/AbstractMaterializedViewRule.java#L113



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)