[infrastructure] add external null-annotations (#8848)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
@@ -50,7 +50,11 @@ public class DbXmlInfoReader {
|
||||
xstream = new XStream(driver);
|
||||
|
||||
configureSecurity(xstream);
|
||||
setClassLoader(Project.class.getClassLoader());
|
||||
ClassLoader classLoader = Project.class.getClassLoader();
|
||||
if (classLoader == null) {
|
||||
throw new UnknownError("Cannot find classloader");
|
||||
}
|
||||
setClassLoader(classLoader);
|
||||
registerAliases(xstream);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user