Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
There are multiple occurrences in CXF code base for both server and client side which incorrectly deals with VOID return type. For example:
method.getReturnType() == Void.class
This fails in case of primitive VOID:
method.getReturnType() => void.class
The correct way of checking for VOID is:
method.getReturnType().equals(Void.TYPE)