You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2016/05/19 15:35:13 UTC

[jira] [Resolved] (CODEC-215) Constructors must not call overrideable methods

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

Sebb resolved CODEC-215.
------------------------
    Resolution: Fixed

URL: http://svn.apache.org/viewvc?rev=1744596&view=rev
Log:
CODEC-215 Constructors must not call overrideable methods

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/PureJavaCrc32.java


> Constructors must not call overrideable methods
> -----------------------------------------------
>
>                 Key: CODEC-215
>                 URL: https://issues.apache.org/jira/browse/CODEC-215
>             Project: Commons Codec
>          Issue Type: New Feature
>            Reporter: Sebb
>
> Constructors must not call overrideable methods.
> An object is not guaranteed fully constructed until the constructor exits, so the subclass override may not see the correct parent object.
> This applies to:
> PureJavaCrc32



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)