This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add method type checking


>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:

Gary> This commit adds checks during method lookups that ensure that the
Gary> argument types and the return type of the found method match those
Gary> expected by the calling method.  This defeats the attacks detailed
Gary> in
Gary> http://www.cis.upenn.edu/~bcpierce/courses/629/papers/Saraswat-javabug.html.

Nice, thanks.
This is a lot shorter than I'd imagined it would be.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]