Changeset 274:9309662457e5 in finroc_core-java


Ignore:
Timestamp:
01.07.2017 02:01:56 (2 years ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
17.03
Phase:
public
Message:

Fixes deserialization issue with remote enum types in static parameter lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote/RemoteStaticParameterList.java

    r267 r274  
    105105                } 
    106106                readType(stream); 
     107                if (type.getDefaultLocalDataType() == RemoteEnumValue.TYPE) { 
     108                    ((RemoteEnumValue)value.getData()).set(0, type); 
     109                } 
    107110                value.deserialize(stream, Serialization.DataEncoding.XML); 
    108111            } 
Note: See TracChangeset for help on using the changeset viewer.