Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365239 - Validation should not check if field types in ExternalTypes are instantiable
Summary: Validation should not check if field types in ExternalTypes are instantiable
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 15:11 EST by Paul Harmon CLA
Modified: 2017-02-23 14:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Harmon CLA 2011-11-30 15:11:11 EST
The following code currently gives a validation error:

ExternalType myET type JavaObject
    field1 any;
end


It complains that any is not instantiable. However, we should not be validating the type in the ET like this, since we do not control the actual java class.

Validation should change to remove the "is instatiable" check from fields of external types.
Comment 1 Paul Harmon CLA 2011-12-09 13:41:06 EST
I have checked in a change to DefaultBinder to fix this
Comment 2 Paul Harmon CLA 2012-01-18 09:02:45 EST
done