OScope redefines name field,which may cause some problem when casted to be
OActivity
------------------------------------------------------------------------------------
Key: ODE-471
URL: https://issues.apache.org/jira/browse/ODE-471
Project: ODE
Issue Type: Bug
Components: BPEL Compilation/Parsing
Affects Versions: 1.2
Environment: Java 5
Reporter: Shammy Chen
OScope redefines name field,which may cause some problem when casted to be
OActivity. For example,when you want to traverse all children'names of SEQUENCE
activity,when it comes to SCOPE or INVOKE(generated as OScope by compiler)
activity,you will get null,just see the following code:
List<OActivity> remainingActivities= ((OSequence) _self.o).sequence;
for (int i = 0; i < remainingActivities.size(); i++) {
System.out.println(remainingActivities.get(i).name);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.