Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-215

Constructors must not call overrideable methods

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.11
    • 1.11
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: