Generics fail using JPAAnnotationProcessor

Bug #798653 reported by Damien Hollis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

Bug Description

I've just started trying Querydsl on quite a large code base and seem to have a problem.

I have a class declared as:

public abstract class EnumPermissions<P extends Enum<P> & Permission> extends EntityImpl implements Permissions<P>

and the processor generates:

public class QEnumPermissions extends EntityPathBase<EnumPermissions<? extends >>

which obviously isn't valid. We have quite a few classes like this, so this is a show stopper for us at the moment.

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Fixed in SVN trunk. Could you verify that the fix works for you?

Changed in querydsl:
status: New → In Progress
Changed in querydsl:
status: In Progress → Fix Committed
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Released in 2.2.0

Changed in querydsl:
status: Fix Committed → Fix Released
Revision history for this message
Damien Hollis (damien-hollis) wrote :

Timo,

Sorry I couldn't didn't have time to test this when you put it in the trunk but I have now that its released and it works perfectly. Thanks very much.

Regards,
Damien

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.