Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333921 - Workbench 2.2.0 generates incorrect member for ConcurrentLinkedQueue type.
Summary: Workbench 2.2.0 generates incorrect member for ConcurrentLinkedQueue type.
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: workbench
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-10 17:26 EST by Miguel Mising name CLA
Modified: 2022-06-09 10:26 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 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