Skip to content

TarantoolNullField.hashCode causes stackoverflow #186

@vrogach2020

Description

@vrogach2020

Method implementation

  @Override
    public int hashCode() {
        return Objects.hashCode(this);
    }

Objects.hashCode implementation

    public static int hashCode(Object o) {
        return o != null ? o.hashCode() : 0;
    }

This obviously causes infinite recursion for non-null objects

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions