Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PluginDescriptorCache #834

Merged
merged 1 commit into from
May 11, 2023
Merged

Conversation

oehme
Copy link
Contributor

@oehme oehme commented Apr 6, 2023

The second get-method wasn't actually overloaded, but had a different signature than the superclass. This resulted in the superclass cache being filled and never cleared, even when flush is called.

The second get-method wasn't actually overloaded, but had a different
signature than the superclass. This resulted in the superclass cache
being filled and never cleared, even when flush is called.
@gnodet gnodet added this to the 1.0-m7 milestone Apr 6, 2023
@oehme
Copy link
Contributor Author

oehme commented Apr 6, 2023

I wonder why we're extending the default class at all? Are there direct references to the default class in Maven core?

@gnodet
Copy link
Contributor

gnodet commented Apr 6, 2023

I wonder why we're extending the default class at all? Are there direct references to the default class in Maven core?

To avoid duplicating the whole class, including the CacheKey inner class ?

@oehme
Copy link
Contributor Author

oehme commented Apr 6, 2023

Ah yes, that makes sense.

@gnodet gnodet merged commit dcf8dac into apache:master May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants