Changeset 34:8d1f20fe913e in rrlib_serialization-java


Ignore:
Timestamp:
30.07.2018 19:47:14 (12 months ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
17.03
Phase:
public
Message:

Fixes DataTypeBase.isConvertibleTo for list types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtti/DataTypeBase.java

    r30 r34  
    352352            return true; 
    353353        } 
    354         if (getTypeClassification() == CLASSIFICATION_LIST) { 
     354        if (getTypeClassification() == CLASSIFICATION_LIST && javaClass != null && javaClass == dataType.javaClass) { 
    355355            return getElementType() != null && dataType.getElementType() != null && getElementType().isConvertibleTo(dataType.getElementType()); 
    356356        } 
Note: See TracChangeset for help on using the changeset viewer.