-
Bug
-
Resolution: Duplicate
-
P4
-
8
-
linux
The java/awt/font/GlyphVector/TestLayoutFlags.java always fails on Linux:
----------System.out:(29/605)----------
Using DejaVu Sans for script latin
Using DejaVu Sans for script hebrew
Using DejaVu Sans for script arabic
Using Lucida Sans Regular for script devanagari
No font found for script tamil
*** latin ***
test flags
computed flags: pos
actual flags: pos
allowed layout flags: none
*** hebrew ***
test flags
computed flags: pos rtl
actual flags: pos rtl
allowed layout flags: rtl
*** arabic ***
test flags
computed flags: pos rtl
actual flags: pos rtl
allowed layout flags: rtl complex
*** hindi ***
test flags
computed flags: pos complex
actual flags: pos complex
allowed layout flags: complex
----------System.err:(18/995)----------
java.lang.NullPointerException
at TestLayoutFlags.validateCharIndexMethods(TestLayoutFlags.java:225)
at TestLayoutFlags.computeFlags(TestLayoutFlags.java:204)
at TestLayoutFlags.test(TestLayoutFlags.java:146)
at TestLayoutFlags.runTest(TestLayoutFlags.java:91)
at TestLayoutFlags.main(TestLayoutFlags.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:750)
----------System.out:(29/605)----------
Using DejaVu Sans for script latin
Using DejaVu Sans for script hebrew
Using DejaVu Sans for script arabic
Using Lucida Sans Regular for script devanagari
No font found for script tamil
*** latin ***
test flags
computed flags: pos
actual flags: pos
allowed layout flags: none
*** hebrew ***
test flags
computed flags: pos rtl
actual flags: pos rtl
allowed layout flags: rtl
*** arabic ***
test flags
computed flags: pos rtl
actual flags: pos rtl
allowed layout flags: rtl complex
*** hindi ***
test flags
computed flags: pos complex
actual flags: pos complex
allowed layout flags: complex
----------System.err:(18/995)----------
java.lang.NullPointerException
at TestLayoutFlags.validateCharIndexMethods(TestLayoutFlags.java:225)
at TestLayoutFlags.computeFlags(TestLayoutFlags.java:204)
at TestLayoutFlags.test(TestLayoutFlags.java:146)
at TestLayoutFlags.runTest(TestLayoutFlags.java:91)
at TestLayoutFlags.main(TestLayoutFlags.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:750)
- duplicates
-
JDK-8202767 java/awt/font/GlyphVector/TestLayoutFlags.java is missing null check
- Resolved