SDK Platform tools 9 has a code generation bug for a method with the
signature:
Map filter (in Map source);
The generated code doesn't generate a ClassLoader reference and the
compile fails:
[javac] ...\aidl\IRemoteService.java:502: cannot find symbol
[javac] symbol : variable cl
[javac] location: class
com.good.android.aidl.IRemoteService.Stub.Proxy
[javac] _result = _reply.readHashMap(cl);
The generated code is:
public java.util.Map filter(java.util.Map source) throws
android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
java.util.Map _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeMap(source);
mRemote.transact(Stub.TRANSACTION_filter, _data, _reply, 0);
_reply.readException();
_result = _reply.readHashMap(cl);
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en