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

ClassIndex.getAnnotated returns classes that are no longer annotated #54

Open
DreierF opened this issue Aug 2, 2019 · 1 comment
Open

Comments

@DreierF
Copy link

DreierF commented Aug 2, 2019

Hi there,
When indexing classes with @IndexAnnotated and removing the annotation again incremental compilation does not seem to update the index correctly so that the class is removed again from the index. I know there were similar issues for classes that were removed causing the indices to become outdated.
Doing a rebuild all fixes the issue.

My proposed solution would be to check for the classes returned by getAnnotated whether the annotation is still present.

Setup:
IntelliJ 2019.2 using the built in compiler

@legaciespanda
Copy link

I am experiencing the same issue

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

No branches or pull requests

2 participants