Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
1.9.2, 1.10.0, 1.11.0, 1.12.0
-
None
Description
The Jackson ObjectMapper in the PdxInstanceImpl class (see here)is not properly configured.
Specifically, it cannot handle Java 8 types since these types are not included in Jackson 2, by default, primarily because Jackson 2 is based on Java 6 (not Java 8). However, that does not mean Jackson 2 cannot handle Java 8 types, when configured properly with extension modules.
To make matters worse, the ObjectMapper used by PDX, and specifically the PdxInstance implementation, violates the Open/Closed software design principle, so there is literally no way to modify (i.e. override/extend) the configuration of the ObjectMapper as required by the application.
See here for a test case demonstrating the issue.