yihua opened a new issue, #17678:
URL: https://github.com/apache/hudi/issues/17678

   ### Task Description
   
   **What needs to be done:**
   
   As above.
   
   **Why this task is needed:**
   
   `org.jetbrains.annotations.*` causes build failures on Java 17.
   
   Current annotation usage:
   ```
     | Annotation                  | Usage                     |
     |-----------------------------|---------------------------|
     | javax.annotation.*          | 82 occurrences (80 files) |
     | org.jetbrains.annotations.* | 18 occurrences (18 files) |
   ```
   We should use `javax.annotation.Nullable`/`javax.annotation.Nonnull` instead.
   
   Reasons:
     1. Standard API - Part of JSR-305, more widely recognized across Java 
ecosystem
     2. Framework compatibility - Better supported by static analysis tools 
like SpotBugs, Error Prone, and most IDEs
     3. No vendor lock-in - JetBrains annotations are IDE-specific
   
   
   ### Task Type
   
   Code improvement/refactoring
   
   ### Related Issues
   
   **Parent feature issue:** (if applicable )
   **Related issues:**
   NOTE: Use `Relationships` button to add parent/blocking issues after issue 
is created.
   


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

Reply via email to