Mercurial > hg > release > icedtea6-1.11
view patches/fix-font-layout-tck.patch @ 2902:2a08fdbf2a11
Fix offset problem in ICU LETableReference.
2013-04-22 Andrew John Hughes <gnu.andrew@redhat.com>
* Makefile.am:
(ICEDTEA_PATCHES): Add new patch.
* NEWS: List patch and list backports
in previous change correctly.
* patches/fix-font-layout-tck.patch:
New patch backported from 2.3.9.
author | Andrew John Hughes <gnu.andrew@redhat.com> |
---|---|
date | Tue, 23 Apr 2013 10:50:52 +0100 |
parents | |
children |
line wrap: on
line source
diff --git a/src/share/native/sun/font/layout/LETableReference.h b/src/share/native/sun/font/layout/LETableReference.h --- openjdk/jdk/src/share/native/sun/font/layout/LETableReference.h +++ openjdk/jdk/src/share/native/sun/font/layout/LETableReference.h @@ -433,7 +433,7 @@ */ LEReferenceTo(const LETableReference &parent, LEErrorCode &success, const void* atPtr) : LETableReference(parent, parent.ptrToOffset(atPtr, success), LE_UINTPTR_MAX, success) { - verifyLength(parent.ptrToOffset(atPtr,success), LETableVarSizer<T>::getSize(), success); + verifyLength(0, LETableVarSizer<T>::getSize(), success); if(LE_FAILURE(success)) clear(); } /**