[ https://issues.apache.org/jira/browse/FELIX-6242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083835#comment-17083835 ]
Carsten Ziegeler commented on FELIX-6242: ----------------------------------------- https://github.com/apache/felix-dev/blob/master/cm.json/src/test/java/org/apache/felix/cm/json/impl/TypeConverterTest.java#L454 contains some test cases showing the problem - the tests are commented out there as they currently fail > Conversion of boolean to Long results in Integer > ------------------------------------------------ > > Key: FELIX-6242 > URL: https://issues.apache.org/jira/browse/FELIX-6242 > Project: Felix > Issue Type: Bug > Components: Converter > Affects Versions: converter-1.0.12 > Reporter: Carsten Ziegeler > Assignee: A. J. David Bosschaert > Priority: Major > Fix For: converter-1.0.14 > > > When converting a boolean to a Long, an Integer is returned. the following > test fails: > assertEquals(Long.valueOf(1), > converter.convert(Boolean.TRUE).to(Long.class)); -- This message was sent by Atlassian Jira (v8.3.4#803005)