-
Key: FUML-2
-
Legacy Issue Number: 13308
-
Status: closed
-
Source: Model Driven Solutions ( Mr. Ed Seidewitz)
-
Summary:
Specification: Semantics of a Foundation Subset for Executable UML Models, FTF Beta 1 (ptc/08-11-03)
Section: 8.5.2.2.3 (ActivityNodeActivation)
Summary:
The logic for the ActivityNodeActivation::clearTokens operation is incorrect. As coded, this operation withdraws each token held by an activity node activation. However, as each token is withdrawn, it gets removed from the activity node. This means that the indexing of the getValue used to get the next held token will be incorrect.
Proposed resolution:
Replace the current code with the following:
while (this.heldTokens.size() > 0)
{ this.heldTokens.getValue(0).withdraw(); } -
Reported: FUML 1.0b1 — Tue, 20 Jan 2009 05:00 GMT
-
Disposition: Resolved — FUML 1.0b2
-
Disposition Summary:
Change the code as proposed
-
Updated: Fri, 6 Mar 2015 20:58 GMT
FUML — Issue: ActivityNodeActivation::clearTokens incorrect
- Key: FUML-2
- OMG Task Force: Semantics of a Foundational Subset of Executable UML Models FTF