Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-261

Select constructor allows partially constructed instance to escape

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The main Select constructor allows its instance to be accessed by other code before the constructor has completed.

      This causes problems such as BCEL-195 because the behaviour of a partially constructed object is not well defined.

      Attachments

        1. select-init.diff
          1.0 kB
          Sebb

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: