eclipse-jdt / eclipse-jdt/eclipse.jdt.core

APT: Cannot resolve import for generated class IF processing annotations with parameters referencing constants

Open
#2,088 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 10h
Merged PRs (30d)
49

Description

Hi guys,

I am facing what I think is a **regression**, as it's the very same problem described in:
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=350378
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=387956

![image](https://github.com/eclipse-jdt/eclipse.jdt.core/assets/7235289/770cd194-b5fa-4267-a9dc-4248cb77b1a5)

It's easy to trigger the bug, I uploaded a simple POC project.

[eclipse-generated-bug.zip](https://github.com/eclipse-jdt/eclipse.jdt.core/files/14459286/eclipse-generated-bug.zip)

Let me know if you need more info.
Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.