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

ASF GitHub Bot updated FLINK-13460:
-----------------------------------
    Labels: pull-request-available  (was: )

> Rework SerializedThrowableTest to not use Unsafe.defineClass()
> --------------------------------------------------------------
>
>                 Key: FLINK-13460
>                 URL: https://issues.apache.org/jira/browse/FLINK-13460
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Tests
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>
>  
> The method {{Unsafe.defineClass()}} is removed in Java 11.
>  To support Java 11, we need to rework the method 
> {{CommonTestUtils.createClassNotInClassPath()}} to use a different mechanism.
> Java 11 introduces a new way to define a class from byte code via 
> {{MethodHandles}}. However, because these do not exist in Java 8, we cannot 
> use them if we want to keep supporting Java 8, which we most likely want to 
> do for quite a while.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to