private JAXBContext getJaxbContext(Class clazz) {
if(clazz == null) {
throw new ViewRenderException("Cannot create JAXBContext for null type");
}
JAXBContext jaxbContext = jaxbContexts.get(clazz);
<BUG>if(jaxbContext == null) {
try {
jaxbContext = JAXBContext.newInstance(clazz);

jaxbContexts.putIfAbsent(clazz, jaxbContext);</BUG>
} catch (JAXBException e) {

private JAXBContext getJaxbContext(Class clazz) {
if(clazz == null) {
throw new ViewRenderException("Cannot create JAXBContext for null type");
}
JAXBContext jaxbContext = jaxbContexts.get(clazz);
if(jaxbContext == null) {
jaxbContexts.computeIfAbsent(clazz, ctx -> {
try {
return JAXBContext.newInstance(clazz);
} catch (JAXBException e) {
