79656920

Date: 2025-06-07 12:16:07
Score: 0.5
Natty:
Report link

JMX (open MBean) supports only a limited set of basic data types, and unfortunately, Instant is not one of them. Looks like internally, the JMX serializer enforces this restriction using a hardcoded serialization filter, which blocks unsupported types like Instant.

Proper way to pass Instant is to wrap it in a CompositeData. Interestingly, Instant did seem to work when returned directly as an operator return value. I'm not entirely sure why that is.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: hmad