Bug in javac ?

Dr Andrew John Hughes ahughes at redhat.com
Mon Oct 31 21:49:26 UTC 2011


On 16:48 Mon 31 Oct     , Andrew Haley wrote:
> 
> > Am 31.10.2011 17:00, schrieb Deepak Bhole:
> > 
> >> It looks like a known bug in the 6 compiler related to interface 
> >> inheritance and covariant return types. I think this is the commit 
> >> that fixed it in 7:
> >>
> >> http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/4a3b9801f7a0
> >>
> >> If you have code that resembles the above and would like to see the
> >> fix backported to 6, please feel free to open a bug.
> > 
> > Thanks. Bug is open (#750301)
> 
> This one should be submitted to the tools people @ Oracle rather than
> just patched into Icedtea, I think.  Their input might avoid us breaking
> anything.
> 

It's worth a try, but they've been pretty unhelpful in the past.  The
OpenJDK6 toolset is a mess (being some fairly random point in the
development of the 7 compiler) and their main contribution has being
to break the TCK run.

On that note, a good initial test for this would be to see if the patched
version passes the TCK.  Then post to compiler-dev and jdk6-dev.

> Andrew.
> -- 
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20111031/93439551/attachment.bin 


More information about the devel mailing list