Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Servo / ServoGui attach fails #486
Thanks Mats, I'm working on this now ..
I think kwatters was interested in "tightening" down the interface to primitives to avoid nulls. But this does not work, and even when it did, its less efficient. If you look into the details of invoking you find that it throws up, then tries to up-cast ... I did the upcast part, but not the coercion to primitives.
I'll write a post on MRL describing how interfaces which define service functions should not use primitives, but always the boxed counterparts e.g. Integer vs int - or somebody do a proficient method invoking/caching based on coercion.
I'll be fixing this by making sure all service interfaces do not have primitives
primitives defined interface methods "work" but .. I'd say they are not optimial..