Skip to content

ID-based invalidation of the bootstrap CP cache #1797

@aloubyansky

Description

@aloubyansky

Current bootstrap classpath cache invlidation is based on a latest timestamp of a pom.xml in the workspace. That potentially could not be enough in case some of the pom.xml files get updated (from a remote repository) with a timestamp that appears to be earlier than the recorded latest one, resulting in the CP cache not being invalidated.
Instead of relying on the latest timestamp, some kind of hash value should be calculated using the timestamps of all the pom.xml files in the workspace and used as the CP cache validity ID.

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions