You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Ranjit Vadakkan (Jira)" <ji...@apache.org> on 2020/05/05 16:40:00 UTC
[jira] [Created] (CXF-8277) WSDLManagerImpl.removeDefinition
doesn't work as expected
Ranjit Vadakkan created CXF-8277:
------------------------------------
Summary: WSDLManagerImpl.removeDefinition doesn't work as expected
Key: CXF-8277
URL: https://issues.apache.org/jira/browse/CXF-8277
Project: CXF
Issue Type: Bug
Components: JAX-WS Runtime
Affects Versions: 3.3.2
Environment: OpenJDK 12
Apache CXF 3.3.2
Reporter: Ranjit Vadakkan
Attachments: Screen Shot 2020-05-05 at 12.32.35 PM.png
Identical to CXF-5407
If I simply make the call to WSDLManagerImpl.removeDefinition to remove a cached WSDL entry, the entry remains. Please see the attachment for a debugger screenshot. Changes in the WSDL are not reflected in the JAXB model.
But if I make a second call WSDLManagerImpl.getDefinitions after WSDLManagerImpl.removeDefinition that simply gets the map of cached entries, something triggers the memory model that causes that cache to clear the entry I previously tried to remove via WSDLManagerImpl.removeDefinition. In this case, changes in the WSDL are correctly reflected in the JAXB model.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)