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

Bug 356046

Summary: The Java code for interfaces cannot be generated
Product: z_Archived Reporter: fahua jin <jinfahua>
Component: EDTAssignee: Matt Heitz <mheitz>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description fahua jin CLA 2011-08-29 02:45:04 EDT
Note: pleas use the P2 installable build to reproduce the problem (2011-08-28 build)

1) Create an EGL interface.
2) Create an EGL service implement the interface created in the 1st step.
3) The Java code for service is generated, but it cannot be compiled successfully because the referenced generated interface Java files cannot be resolved.
Comment 1 Matt Heitz CLA 2011-08-29 12:19:35 EDT
We don't generate anything from an interface.  I changed InterfaceTemplate so generate code won't try to import a class generated from an interface.
Comment 2 fahua jin CLA 2011-09-19 02:18:06 EDT
(In reply to comment #1)
> We don't generate anything from an interface.  I changed InterfaceTemplate so
> generate code won't try to import a class generated from an interface.

Validated in  0.7.0.v201109172101.