Review request for OPENJDK6-40: OpenJDK6-b32 does not compile the testcase that Oracle JDK 6u45 compiles fine

Andrew Hughes gnu.andrew at redhat.com
Wed Dec 10 16:11:19 UTC 2014


----- Original Message -----
> Please, review the fix for
> OPENJDK6-40: OpenJDK6-b32 does not compile the testcase that Oracle JDK 6u45
> compiles fine
> 
> This is a regression of the fix for OPENJDK6-35 (which is a backport of
> JDK-6650759 to OpenJDK 6). In OpenJDK 7 this regression existed too -
> it was tracked as
> JDK-6938454: Unable to determine generic type in program that compiles under
> Java 6
> The solution is to backport the fix for JDK-6938454 to OpenJDK 6.
> The backport is small and straightforward, but not identical to the original
> fix - the changes related to "diamond" operator support are not applicable
> to OpenJDK 6.
> 
> The practical reason for this fix is that currently OpenJDK 6 fails to
> compile
> Apache Flume 1.5.0, while Oracle Java 6 and 7 do the compilation
> successfully.
> 
> Bug: https://java.net/jira/browse/OPENJDK6-40
> OpenJDK bug: https://bugs.openjdk.java.net/browse/JDK-6938454
> Webrev: http://cr.openjdk.java.net/~ikrylov/openjdk6bug40.langtools.webrev/
> 
> Testing: builds on Windows and Linux, all regression tests for javac,
> building
> Apache Flume 1.5.0.
> 
> Thanks,
> Nikolay
> 

As this is a backport of an OpenJDK fix with an existing bug ID (6938454),
there is no need for the OpenJDK 6 bug ID, OPENJDK6-40. These are only used
where a fix is unique to OpenJDK 6.

Thanks,
-- 
Andrew :)

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

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07



More information about the jdk6-dev mailing list