On Tuesday 12 of October 2010 13:08:19 Sim IJskes - QCG wrote: > On 10/12/2010 12:33 PM, Michal Kleczek wrote: > > Hmm... I think I would argue that annotation should have the codebase > > embedded and only issue a remote call to verify this codebase - not to > > retrieve it. > > > > How about we get rid of Module interface and require annotation to be > > RmiModule (which is final)? > > By re/encoding it as a String. So we can harden the MarshallInputStream > to only accept UTF-8 String with limited length.
Would that be enough just not to allow recursive readAnnotation() ? That way our stream would be more compact... Michal
