Request for approval to sync Feb 2013 CPU fixes into jdk6-open
Andrew Hughes
gnu.andrew at redhat.com
Thu Mar 7 02:59:14 PST 2013
----- Original Message -----
> February CPU pushes completed as reviewed in last round of webrevs.
>
> I'd like to push 2 extra fixes now for issues addressed in
> yesterday's
> JDK releases.
>
> webrev : http://cr.openjdk.java.net/~coffeys/webrev.6open.mar5/
>
> Good to push ?
>
> regards,
> Sean.
>
> On 05/03/2013 18:44, Omair Majid wrote:
> > On 03/05/2013 10:52 AM, Edvard Wendelin wrote:
> >> Hi,
> >>
> >> The change in JAXP can be viewed here:
> >> http://cr.openjdk.java.net/~joehw/jdk8/8001235/webrev/ While it's
> >> generated against JDK 8, the change in 6 is identical.
> > The JAXP changes look identical to what was pushed to jdk7u. Looks
> > all
> > good to me!
> >
> >> I plan to push the changes today.
> > Thank you. It will be great to have all the security fixes in!
> >
> > Cheers,
> > Omair
> >
>
>
I notice that what was finally committed differs from this webrev (in a positive
way). The version posted from the webrev failed to compile:
1. ERROR in ../../../src/share/classes/sun/java2d/cmm/lcms/LCMSTransform.java (at line 580)
LCMS.colorConvert(this, srcIL, dstIL);
^^^^^
srcIL cannot be resolved to a variable
----------
2. ERROR in ../../../src/share/classes/sun/java2d/cmm/lcms/LCMSTransform.java (at line 580)
LCMS.colorConvert(this, srcIL, dstIL);
^^^^^
dstIL cannot be resolved to a variable
----------
3. ERROR in ../../../src/share/classes/sun/java2d/cmm/lcms/LCMSTransform.java (at line 606)
LCMS.colorConvert(this, srcIL, dstIL);
^^^^^
srcIL cannot be resolved to a variable
----------
4. ERROR in ../../../src/share/classes/sun/java2d/cmm/lcms/LCMSTransform.java (at line 606)
LCMS.colorConvert(this, srcIL, dstIL);
^^^^^
dstIL cannot be resolved to a variable
but this seems to have been fixed in the committed version, presumably due to:
- try {
- LCMSImageLayout srcIL = new LCMSImageLayout(
- src, src.length/getNumInComponents(),
- LCMSImageLayout.CHANNELS_SH(getNumInComponents()) |
- LCMSImageLayout.BYTES_SH(1), getNumInComponents());
-
- LCMSImageLayout dstIL = new LCMSImageLayout(
- dst, dst.length/getNumOutComponents(),
- LCMSImageLayout.CHANNELS_SH(getNumOutComponents()) |
- LCMSImageLayout.BYTES_SH(1), getNumOutComponents());
- } catch (ImageLayoutException e) {
- throw new CMMException("Unable to convert data");
- }
+ LCMSImageLayout srcIL = new LCMSImageLayout(
+ src, src.length/getNumInComponents(),
+ LCMSImageLayout.CHANNELS_SH(getNumInComponents()) |
+ LCMSImageLayout.BYTES_SH(1), getNumInComponents());
+
+ LCMSImageLayout dstIL = new LCMSImageLayout(
+ dst, dst.length/getNumOutComponents(),
+ LCMSImageLayout.CHANNELS_SH(getNumOutComponents()) |
+ LCMSImageLayout.BYTES_SH(1), getNumOutComponents());
so srcIL and dstIL are now declared at a wider scope. I'll use the committed versions
in IcedTea6 HEAD.
Cheers,
--
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