8166111: [PIT] possible regression: java/awt/font/GlyphVector/TestLayoutFlags.java
authorprr
Tue, 20 Dec 2016 09:47:22 -0800
changeset 43072 6f7769361c22
parent 42941 040a43b1c909
child 43073 e6d6fbcc0bdf
8166111: [PIT] possible regression: java/awt/font/GlyphVector/TestLayoutFlags.java Reviewed-by: serb
jdk/test/java/awt/font/GlyphVector/TestLayoutFlags.java
--- a/jdk/test/java/awt/font/GlyphVector/TestLayoutFlags.java	Tue Dec 20 11:53:07 2016 +0300
+++ b/jdk/test/java/awt/font/GlyphVector/TestLayoutFlags.java	Tue Dec 20 09:47:22 2016 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@
 
 
 /* @test
-   @bug 4328745 5090704
+   @bug 4328745 5090704 8166111
    @summary exercise getLayoutFlags, getGlyphCharIndex, getGlyphCharIndices
  */
 
@@ -82,7 +82,7 @@
         test("latin", latinGV, GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
         test("hebrew", hebrewGV, GlyphVector.FLAG_RUN_RTL |
              GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
-        test("arabic", arabicGV, GlyphVector.FLAG_RUN_RTL |
+        test("arabic", arabicGV, GlyphVector.FLAG_COMPLEX_GLYPHS |
              GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);
         test("hindi", hindiGV, GlyphVector.FLAG_COMPLEX_GLYPHS |
              GlyphVector.FLAG_HAS_POSITION_ADJUSTMENTS);