Skip to content

BigDecimal / An illegal reflective access operation has occurred #911

@buderjoh

Description

@buderjoh

If you register a BigDecimal Type

JaversBuilder builder = JaversBuilder.javers()
.registerValue(BigDecimal.class, new CustomBigDecimalComparator(2));

The following warning occurs upon startup of a spring Service

2019-11-05 15:27:47.706 INFO 22492 --- [ main] org.javers.core.JaversBuilder : mappingStyle: FIELD
2019-11-05 15:27:47.716 INFO 22492 --- [ main] org.javers.core.JaversBuilder : loading JodaAddOns ...
2019-11-05 15:27:47.747 INFO 22492 --- [ main] org.javers.core.JaversBuilder : loading GuavaAddOns ...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.javers.common.reflection.JaversMember (/.metadata/.m2/org/javers/javers-core/5.8.4/javers-core-5.8.4.jar) to field java.math.BigDecimal.intVal
WARNING: Please consider reporting this to the maintainers of org.javers.common.reflection.JaversMember
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions