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

Bug 353469

Summary: Timing Service will not be generated correctly
Product: [Modeling] eTrice Reporter: Thomas Jung <tj>
Component: GeneratorsAssignee: Project Inbox <etrice.generators-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hrr
Version: 0.1.0Flags: hrr: indigo+
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: 0.1.0

Description Thomas Jung CLA 2011-07-31 11:37:17 EDT
The timingservice will not be generated correctly. Simply generate the "blinky" example and take a look at the generated code. The "ATimingService.java" file has an error marker in line 256 ("unreachable code"). This behavior is new in ac22bffec20d960c48cb76c97b9c12d8465657b5.
Comment 1 Henrik Rentz-Reichert CLA 2011-08-01 01:53:38 EDT
fixed with
79a36d4762e923c7771f06bed91ab33ea4553ee7
Comment 2 Henrik Rentz-Reichert CLA 2011-08-01 01:54:54 EDT
NB: the newly added line was
return NO_STATE;
which is required by CDT but detected as unreachable by JDT because of while (true)
Comment 3 Henrik Rentz-Reichert CLA 2011-12-16 02:45:43 EST
closed resolved bug