Bug 542088 - Use of 2nd generation apt classes together with annotations fails
Summary: Use of 2nd generation apt classes together with annotations fails
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: APT (show other bugs)
Version: 4.9   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Generic inbox for the JDT-APT component CLA
QA Contact: Jay Arthanareeswaran CLA
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-04 08:42 EST by Michael Kuß CLA
Modified: 2023-06-02 00:33 EDT (History)
2 users (show)

See Also:


Attachments
zipped bug reproducer Eclipse Project containing all external libs (2.56 MB, application/x-zip-compressed)
2018-12-04 08:42 EST, Michael Kuß CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kuß CLA 2018-12-04 08:42:48 EST
Created attachment 276809 [details]
zipped bug reproducer Eclipse Project containing all external libs

Bug description:

1. Class Foo is annotated and an annotation processor creates class ImmutableFoo

2. ImmutableFoo itself has an annotation and triggers the generation of ImmutableFooBuilder

3. ImmutableFooBuilder is the type of a field (bug also occurs for return type of a method) in Bar

4. If that field carries any annotation the classes will be generated correctly but do not compile.

I attached a zip file containing a small reproducer project containing all external dependencies (trigger the bug by commenting out the annotation on the field in Bar)
Comment 1 Michael Kuß CLA 2019-04-08 01:45:49 EDT
Is this bug lost in some unread generic inbox?
I cannot see any status change on this issue.

Michael
Comment 2 Jay Arthanareeswaran CLA 2019-04-08 04:56:45 EDT
(In reply to Michael Kuß from comment #1)
> Is this bug lost in some unread generic inbox?
> I cannot see any status change on this issue.
> 
> Michael

Sorry about it. There were no takes probably because the team was loaded with the Java 12 work.

I will see how simple/complex the fix is and depending on it, will take a call.
Comment 3 Michael Kuß CLA 2019-06-04 06:58:38 EDT
Hello,

another 2 month passed. Any progress on this issue?

Greetings
Michael
Comment 4 Eclipse Genie CLA 2021-05-25 11:08:19 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Eclipse Genie CLA 2023-06-02 00:33:23 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.