Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356046 - The Java code for interfaces cannot be generated
Summary: The Java code for interfaces cannot be generated
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: Matt Heitz CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-29 02:45 EDT by fahua jin CLA
Modified: 2017-02-23 14:17 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.