6908259: Covariance bug for multiple interface inheritence

David M. Lloyd david.lloyd at redhat.com
Mon Feb 8 18:46:47 PST 2010

I've produced a patch for javac bug #6908259 which appears to fix the 
issue, at first blush.  Before engaging in more rigorous testing and 
figuring out how to do this jtreg thing, can someone in the know have a 
glance over this patch and see if it makes any sense?

See http://bugs.sun.com/view_bug.do?bug_id=6908259 for a detailed 
description of the problem.

My attached patch tries to work around the issue by detecting when two 
incompatible methods are both overridden, and if so, it does an extra check 
to see if the overriding method is a valid covariation (?) of both methods.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-6908259-v1.patch
Type: text/x-patch
Size: 1566 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20100208/2712c0d5/bug-6908259-v1.patch 

More information about the compiler-dev mailing list