Yeah, this is an issue we found in JDK9 built-in jaxb firstly, than ran into 
same problem in JAXB 2.3,  and now seems latest JDK8 built-in jaxb is also 
affected.

Btw, it is tracked by CXF-7520
[1]https://issues.apache.org/jira/browse/CXF-7520
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat



> On Jan 18, 2018, at 4:31 AM, Daniel Kulp <[email protected]> wrote:
> 
> These are the same tests that fail on Java9 that Freeman and Jim are trying 
> to get fixed.   I’m willing to bet Oracle back ported the changes.
> 
> Dan
> 
> 
>> On Jan 17, 2018, at 3:03 PM, Colm O hEigeartaigh <[email protected]> wrote:
>> 
>> Hi all,
>> 
>> With the latest JDK (8-161) some tests have started to fail (at least for
>> me locally), e.g.:
>> 
>> [ERROR]
>> testWriteNullValueAsString(org.apache.cxf.jaxrs.provider.json.JSONProviderTest)
>> Time elapsed: 0.006 s  <<< FAILURE!
>> java.lang.AssertionError
>>   at
>> org.apache.cxf.jaxrs.provider.json.JSONProviderTest.doTestWriteNullValue(JSONProviderTest.java:354)
>>   at
>> org.apache.cxf.jaxrs.provider.json.JSONProviderTest.testWriteNullValueAsString(JSONProviderTest.java:329)
>> 
>> [ERROR]
>> testWriteNullValueAsNull(org.apache.cxf.jaxrs.provider.json.JSONProviderTest)
>> Time elapsed: 0.003 s  <<< FAILURE!
>> java.lang.AssertionError
>>   at
>> org.apache.cxf.jaxrs.provider.json.JSONProviderTest.doTestWriteNullValue(JSONProviderTest.java:356)
>>   at
>> org.apache.cxf.jaxrs.provider.json.JSONProviderTest.testWriteNullValueAsNull(JSONProviderTest.java:335)
>> 
>> Colm.
>> 
>> 
>> -- 
>> Colm O hEigeartaigh
>> 
>> Talend Community Coder
>> http://coders.talend.com
> 
> -- 
> Daniel Kulp
> [email protected] - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
> 

Reply via email to