Github user johnament commented on the issue: https://github.com/apache/activemq-artemis/pull/684 Mmmph. So I can fix the spec jar for geronimo, but the problem will persist in the other spec jars, e.g. the same problem happens w/ the RI JAR and the JBoss JAR. Minor issue, I would do this as the loader method, to avoid casting ``` private static JsonProvider loadProvider() { return AccessController.doPrivileged(new PrivilegedAction<JsonProvider>() { @Override public JsonProvider run() { ClassLoader originalLoader = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(JsonProvider.class.getClassLoader()); return JsonProvider.provider(); } finally { Thread.currentThread().setContextClassLoader(originalLoader); } } }); } ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---