This is an automated email from the ASF dual-hosted git repository.
struberg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git
from a38e0c3 JOHNZON-364 JsonbVisibility always wins over default rules
new 46a1bb8 fix DefaultPropertyVisibilityStrategy to respect the spec,
ensure we clean the cache + fix backward compatibility of the
FieldAndMethodAccessMode
new 23b49f3 JOHNZON-364 use reflection to avoid caches.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/johnzon/core/util/ClassUtil.java | 32 +++++
...nBuilderFactoryTest.java => ClassUtilTest.java} | 30 ++---
.../jsonb/DefaultPropertyVisibilityStrategy.java | 107 +++++++++++-----
.../org/apache/johnzon/jsonb/JohnzonBuilder.java | 2 +-
.../org/apache/johnzon/jsonb/JsonbAccessMode.java | 45 +++++--
.../DefaultPropertyVisibilityStrategyTest.java | 45 ++++++-
.../jsonb/api/experimental/JsonbExtensionTest.java | 4 -
.../java/org/apache/johnzon/mapper/Cleanable.java | 8 +-
.../org/apache/johnzon/mapper/MapperBuilder.java | 2 +-
.../java/org/apache/johnzon/mapper/Mappings.java | 92 +++++++-------
.../mapper/access/FieldAndMethodAccessMode.java | 42 ++++++-
.../access/FieldAndMethodAccessModeTest.java | 138 +++++++++++++++++++++
12 files changed, 429 insertions(+), 118 deletions(-)
copy
johnzon-core/src/test/java/org/apache/johnzon/core/{JsonBuilderFactoryTest.java
=> ClassUtilTest.java} (58%)
copy
johnzon-websocket/src/main/java/org/apache/johnzon/websocket/jsr/package-info.java
=> johnzon-mapper/src/main/java/org/apache/johnzon/mapper/Cleanable.java (89%)
create mode 100644
johnzon-mapper/src/test/java/org/apache/johnzon/mapper/access/FieldAndMethodAccessModeTest.java