Skip to content

How should the SubnetPredicate handle null value #9

@bplessis-swi

Description

@bplessis-swi

We might need to decide what to do about comparing to null.

Is it something that should legitimately happens => we return false
OR "this null is not expected at all" so there is a bug or something wrong and we raise exception

E.g. :
socketAddress.getAddress() can return null if the inetsocket address is not resolved.
Is it normal behavior if this happens OR if that happens that looks like a bug and so we should see it.

#2 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions