Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Use the thread class loader as default classloader. This is necessary for correctly implement the Microprofile specs:
public static ClassLoader getDefaultClassLoader() { ClassLoader cl = Thread.currentThread().getContextClassLoader(); if(cl==null) { cl = ServiceContextManager.class.getClassLoader(); } return cl; }