OpenSSLX509Certificate: mark mContext as transient
Since mContext should not participate in the serialization process, hide it with the transient qualifier. This will prevent the field from initialization during the unserialization of this class. Then of course the instance will be in a valid state. (cherry picked from commit 8d57b9dbbd883422a0ff02083bfcf637b097e504) For KLP during CTS runs, the OpenSSLX509Certificate#getContext() is not public so we have to call the function we are interested in via reflection. Bug: 21437603 Change-Id: Id5b8a83b6000c2219f3246f93aff7a9c6453f639
Loading
Please sign in to comment