[
https://issues.apache.org/jira/browse/HADOOP-13147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ayush Saxena updated HADOOP-13147:
----------------------------------
Summary: Constructors must not call overrideable methods in PureJavaCrc32C
(was: Constructors must not call overrideable methods)
> Constructors must not call overrideable methods in PureJavaCrc32C
> -----------------------------------------------------------------
>
> Key: HADOOP-13147
> URL: https://issues.apache.org/jira/browse/HADOOP-13147
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.0.6-alpha
> Environment:
> http://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/PureJavaCrc32C.java
> Reporter: Sebb
> Priority: Blocker
> Labels: pull-request-available
>
> 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 fully created parent object.
> This applies to:
> PureJavaCrc32
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]