[ 
https://issues.apache.org/jira/browse/HUDI-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagar Sumit updated HUDI-4687:
------------------------------
    Epic Link: HUDI-2687

> 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
>          Components: writer-core
>            Reporter: Sagar Sumit
>            Priority: Critical
>              Labels: jdk, pull-request-available, reflection, writer
>             Fix For: 0.12.1
>
>
> 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