Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345648 - Infinite loop when PU contains a annotation definition
Summary: Infinite loop when PU contains a annotation definition
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Doug Clarke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 15:20 EDT by Mitesh Meswani CLA
Modified: 2022-06-09 10:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mitesh Meswani CLA 2011-05-12 15:20:44 EDT
If a PU contains following kind of class, EclipseLink goes into infinite loop

@Documented
@Constraint(validatedBy = SprintNameUniquenessConstraintValidator.class)
@Target({ ElementType.METHOD, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface SprintNameUniquenessConstraint {
    
	String message() default "{sprint.form.label.name.unique}";

	Class<?>[] groups() default {};

    Class<? extends ConstraintPayload>[] payload() default {};
    

}

See GlassFish bug http://java.net/jira/browse/GLASSFISH-16612 for more details.
Comment 1 Mitesh Meswani CLA 2011-05-12 15:22:23 EDT
Setting milestone and assignee
Comment 2 Peter Krogh CLA 2011-05-12 15:47:53 EDT
Fixed for RC1.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:10:04 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink