Hello. Please review the fix for jdk/client. Bug: https://bugs.openjdk.java.net/browse/JDK-8022535 Fix: http://cr.openjdk.java.net/~serb/8022535/webrev.00
The test manually uses AppContext on the custom thread and assume the main thread has the "Main AppContext" by default, but it was removed a long time ago, NPE is a result of this. The test should create it manually. -- Best regards, Sergey.