csun5285 opened a new pull request, #70945:
URL: https://github.com/apache/doris/pull/70945

   
   Related PR: #70418, #70320
   
   Problem Summary:
   
   The auto-pick PR #70418 (`6f8c62a428c`, cherry-picked from master #70320) 
broke FE compilation and FE UT compilation on `branch-4.2`:
   
   1. `HdfsStorageVault.java:194` uses `Locale.ROOT`, but `java.util.Locale` 
was not imported on `branch-4.2` (master already imported it via an earlier 
commit).
   2. `HdfsStorageVaultTest.java` uses `Locale.ROOT` and Java 9 `List.of(...)` 
without importing `java.util.Locale` or `java.util.List`, and `branch-4.2` 
compiles FE against Java 8 APIs where `List.of(...)` does not exist.
   
   This PR adds the missing `java.util.Locale` imports in 
`HdfsStorageVault.java` and `HdfsStorageVaultTest.java`, and replaces 
`List.of(...)` with `Collections.singletonList(...)` in 
`HdfsStorageVaultTest.java`.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to