Sagar Sumit created HUDI-4687:
---------------------------------

             Summary: Avoid all illegal reflective access in the code
                 Key: HUDI-4687
                 URL: https://issues.apache.org/jira/browse/HUDI-4687
             Project: Apache Hudi
          Issue Type: Task
            Reporter: Sagar Sumit


Since Java 16, certain kinds of reflective access is no longer allowed. Check 
JEP 396 on strong encapsulation for more details: [https://openjdk.org/jeps/396]

One such example in our code is the usage of Field.setAccessible(true) in 
ObjectSizeCalculator. This code will throw InaccessibleObjectException when 
running on jdk16 or higher. We should avoid such illegal reflective access.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to