superdachuan commented on PR #11129: URL: https://github.com/apache/nifi/pull/11129#issuecomment-4286727059
Thanks for the feedback @exceptionfactory . I reverted the custom ClassLoader-based test change and simplified the approach. In the updated revision, I removed `withZone(ZoneId.systemDefault())` from the static `DateTimeFormatter` in `DateTimeAdapter`. In this adapter, that formatter-level zone was not necessary for the existing marshal/unmarshal behavior, so removing it does not change the intended time zone handling. It does, however, avoid binding the formatter to the JVM default time zone at class initialization time. With that change in place, the tests can switch the default time zone directly without relying on class reloading or a custom ClassLoader. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
