hiSandog opened a new pull request, #18361: URL: https://github.com/apache/dolphinscheduler/pull/18361
## Purpose `MapComparator#getKeysToUpdate()` currently compares values with `newMap.get(key).equals(oldMap.get(key))`. When the new map contains a key with a null value, this throws a `NullPointerException` instead of treating the value as changed. ## Changes - Use `Objects.equals` for null-safe value comparison. - Add regression coverage for a null new value and for both values being null. ## Validation - `git diff --check` Not run: Maven tests, because this environment does not have a Java Runtime installed (`java -version` fails with "Unable to locate a Java Runtime"). -- 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]
