Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358957 - When an enum constant is part of the query, the first package is wrongly validated as a not defined identification variable
Summary: When an enum constant is part of the query, the first package is wrongly vali...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 14:44 EDT by Pascal Filion CLA
Modified: 2022-06-09 10:32 EDT (History)
1 user (show)

See Also:
neil.hauge: review+


Attachments
Fix for bug and added unit-tests (4.23 KB, patch)
2011-09-27 07:49 EDT, Pascal Filion CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Filion CLA 2011-09-26 14:44:21 EDT
Based on the given post
http://www.eclipse.org/forums/index.php?t=rview&goto=729089#msg_729089

The problem is that the first package of the fully qualified enum constant was not ignored when validating undeclared identification variables.
Comment 1 Pascal Filion CLA 2011-09-27 07:49:34 EDT
Created attachment 204067 [details]
Fix for bug and added unit-tests
Comment 2 Pascal Filion CLA 2011-10-13 16:08:27 EDT
Checked in the fix
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:32:27 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink