This seems to be a code path that has has not been exercised. We need to check for null values in the array.
------------- Commit messages: - 8263439: getSupportedAttributeValues() throws NPE for Finishings attribute Changes: https://git.openjdk.java.net/jdk/pull/3055/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3055&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8263439 Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/3055.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/3055/head:pull/3055 PR: https://git.openjdk.java.net/jdk/pull/3055