Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Comparison method violates its general contract! #295

@sfiruch

Description

@sfiruch

The Comparator in MovieCache.java:52 (https://github.com/Helioviewer-Project/JHelioviewer/blob/master/src/org/helioviewer/jhv/viewmodel/jp2view/newjpx/MovieCache.java#L52) is invalid, according to Array.sort().

Perhaps a race-condition, when _a.lastModified() changes during sorting?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions