commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CODEC-215) Constructors must not call overrideable methods
Date Sat, 14 May 2016 11:39:12 GMT
Sebb created CODEC-215:
--------------------------

             Summary: 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)

Mime
View raw message