Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353469 - Timing Service will not be generated correctly
Summary: Timing Service will not be generated correctly
Status: CLOSED FIXED
Alias: None
Product: eTrice
Classification: Modeling
Component: Generators (show other bugs)
Version: 0.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-31 11:37 EDT by Thomas Jung CLA
Modified: 2011-12-16 02:45 EST (History)
1 user (show)

See Also:
hrr: indigo+


Attachments

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