commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONFIGURATION-490) DefaultConfigurationKey.setExpressionEngine - non-final method called by constructor
Date Mon, 04 Aug 2014 11:22:11 GMT

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

Sebb commented on CONFIGURATION-490:
------------------------------------

I don't think the ticket should be closed until all the instances have been fixed.
Have you tried running FindBugs on the code? IIRC it can detect many of these issues.

If I find time I will have another look at the code.

> DefaultConfigurationKey.setExpressionEngine - non-final method called by constructor
> ------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-490
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-490
>             Project: Commons Configuration
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 2.0
>
>
> If a constructor calls an overrideable method, sub-classes that override the method can
cause failures



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message