diff --git a/jdk/src/share/classes/sun/font/GlyphLayout.java b/jdk/src/share/classes/sun/font/GlyphLayout.java index d34734f8e9a..468e4a118c5 100644 --- a/jdk/src/share/classes/sun/font/GlyphLayout.java +++ b/jdk/src/share/classes/sun/font/GlyphLayout.java @@ -85,7 +85,7 @@ public final class GlyphLayout { private GVData _gvdata; // cached glyph layout data for reuse - private static GlyphLayout cache; // reusable + private static volatile GlyphLayout cache; // reusable private LayoutEngineFactory _lef; // set when get is called, unset when done is called private TextRecord _textRecord; // the text we're working on, used by iterators