Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333921

Summary: Workbench 2.2.0 generates incorrect member for ConcurrentLinkedQueue type.
Product: z_Archived Reporter: Miguel Mising name <rmmora159>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: martin.grebac
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: workbench

Description Miguel Mising name CLA 2011-01-10 17:26:51 EST
Build Identifier: 3.6.1

When selecting java.util.concurrent.ConcurrentLinkedQueue as the type for a new entity member, the generated class incorrectly embdes "import java.util.concurrent" as the imports instruction, and in the constructor uses the incorrect syntax "new concurrent.ConcurrentLinkedQueue()" to instantiate the Queue.

Reproducible: Always

Steps to Reproduce:
1. In Eclipselink Workbench 2.2.0 create an entity with an attribute and select java.util.concurrent.ConcurrentLinkedQueue as the Type Declaration.
2. Generate the class file
3. Open the class file in Eclipse. The two lines described above will be flagged as compilation errors.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:26:21 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink