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

Comparison method violates its general contract! #295

Open
sfiruch opened this issue Aug 7, 2017 · 0 comments
Open

Comparison method violates its general contract! #295

sfiruch opened this issue Aug 7, 2017 · 0 comments
Labels

Comments

@sfiruch
Copy link
Member

sfiruch commented Aug 7, 2017

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?

@sfiruch sfiruch added the bug label Aug 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant