[
https://issues.apache.org/jira/browse/TOMEE-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16901347#comment-16901347
]
Cesar Hernandez commented on TOMEE-2565:
----------------------------------------
[~rzo1]
This is what I just did:
1) I took a look at the johnzon 1.0.2 release
[https://github.com/apache/johnzon/commit/99525e7bcecd7fc93f4e617e0fa292053bf91ce5]
2) Then I compared johnzon 1.0.2 release versions of both MappingParserImpl
[1] and MapperConfig [2] code against the Johnzon 1.0.1 [3] and there is no
change between 1.0.1 and 1.0.2 :(
I don't get how you saw the difference between Johnzon versions.
[1]
[https://github.com/apache/johnzon/blob/76fe13de8c50783613fb33ddaaa2838cdff77fc7/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/MappingParserImpl.java]
[2]
[https://github.com/apache/johnzon/blob/76fe13de8c50783613fb33ddaaa2838cdff77fc7/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/MapperConfig.java]
[[3]|https://github.com/apache/johnzon/commit/e5fda215504694c7def390b4319d1c95812cce69]
[https://github.com/apache/johnzon/commit/e5fda215504694c7def390b4319d1c95812cce69]
> JSONB Capabilities Broken in 7.1.1 Plume
> ----------------------------------------
>
> Key: TOMEE-2565
> URL: https://issues.apache.org/jira/browse/TOMEE-2565
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Affects Versions: 7.1.1
> Reporter: David Gannon
> Priority: Major
> Attachments: tomeejson711.zip
>
>
> We have an existing app that has a REST client that utilizes various JSON-B
> classes and annotations, such as javax.json.bind.JsonbConfig,
> javax.json.bind.config.PropertyNamingStrategy,
> javax.json.bind.config.PropertyVisibilityStrategy and
> javax.json.bind.annotation.JsonbTypeAdapter annotation. We have been using
> them in some REST clients running on 7.1.0 Plume and they work just fine.
> But on 7.1.1 with identical server configs, all of the JSONB configuration
> and the annotated fields seem to be ignored.
> In addition, under 7.1.0, the provider has a built-in mappings for converting
> java.time.LocalDate and java.time.LocalDateTime that do not seem to be
> present in 7.1.1. Under 7.1.0, the implementation converts them to and from
> ISO format whereas 7.1.1 produces json as though it used the "toString"
> method.
> I am attaching a small project that reproduces the problems. As supplied,
> the project will use tomee 7.1.0. Simply run "mvn clean package". Then, to
> see the issue in 7.1.1, change the property "tomee.version" to 7.1.1 and run
> "mvn clean package".
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)