The ARINC653 partition schedule properties are record properties. If you assign as value of one of the field a property constant, then the property association in the instance model leaves the constant reference in.
The method getModuleSchedule in GetProperties assumes an IntegerLiteral resulting in a class cast exception.
windowTime = (IntegerLiteral) PropertyUtils.getRecordFieldValue(window, "duration");
According to discussions with Lutz the constant reference should be resolved to the value during instantiation.
also includes commit 2ec38d909711a148beb03230de63f441f67c117c
checks for cyclic property constant references in record field evaluation. Done in getRecordFieldValue method.
The ARINC653 partition schedule properties are record properties. If you assign as value of one of the field a property constant, then the property association in the instance model leaves the constant reference in. The method getModuleSchedule in GetProperties assumes an IntegerLiteral resulting in a class cast exception.
windowTime = (IntegerLiteral) PropertyUtils.getRecordFieldValue(window, "duration");
According to discussions with Lutz the constant reference should be resolved to the value during instantiation.