reta commented on code in PR #1861:
URL: https://github.com/apache/cxf/pull/1861#discussion_r1596097566
##########
core/src/main/java/org/apache/cxf/helpers/DOMUtils.java:
##########
@@ -790,7 +790,10 @@ public static DocumentFragment
getDomDocumentFragment(DocumentFragment fragment)
//java9 plus hack
Field f = GET_DOCUMENT_FRAGMENT_FIELDS.get(fragment.getClass());
if (f != null) {
- return ReflectionUtil.accessDeclaredField(f, fragment,
DocumentFragment.class);
+ final DocumentFragment inner =
ReflectionUtil.accessDeclaredField(f, fragment, DocumentFragment.class);
Review Comment:
I am not able to reproduce the issue though but it seems like to be the only
place where `null` could escape
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]