[OpenJDK 2D-Dev] RFR: 8u60 backport of 8080163: Uninitialised variable in jdk/src/java/desktop/share/native/libfontmanager/layout/LookupProcessor.cpp
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Jun 15 18:18:04 UTC 2015
Looks fine.
On 15.06.15 21:08, Phil Race wrote:
> Simple one line backport to 8u60 for review ..
>
> 9 changeset: http://hg.openjdk.java.net/jdk9/client/jdk/rev/85a1af70df88
>
> same for 8u60 :
> diff --git a/src/share/native/sun/font/layout/LookupProcessor.cpp
> b/src/share/native/sun/font/layout/LookupProcessor.cpp
> --- a/src/share/native/sun/font/layout/LookupProcessor.cpp
> +++ b/src/share/native/sun/font/layout/LookupProcessor.cpp
> @@ -175,7 +175,7 @@
> LEReferenceTo<LangSysTable> langSysTable;
> le_uint16 featureCount = 0;
> le_uint16 lookupListCount = 0;
> - le_uint16 requiredFeatureIndex;
> + le_uint16 requiredFeatureIndex = 0xFFFF;
>
> if (LE_FAILURE(success)) {
> return;
>
> -phil.
--
Best regards, Sergey.
More information about the 2d-dev
mailing list