Skip to content

[MPIR-472] ProjectInfoProjectStub constructor reads files and calls local methods #321

@jira-importer

Description

@jira-importer

Elliotte Rusty Harold opened MPIR-472 and commented

This class does more work in its constrcutor than is safe for a constructor to do, and can leave objects in unexpected and not fully initialized states. It can also throw unexpected, undocumented, and uncaught RuntimeExceptions. Consider converting in part to a factory method that can throw context appropriate exceptions or otherwise preventing objects in bad states.


No further details from MPIR-472

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:minorMinor loss of function, or other problem where easy workaround is present

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions