WFLY-30 SFSB containing injected DataSource fails to passivate/serialize

Is there any chance use code could rely on the datasource being assignable to some other class?