[ 
https://issues.apache.org/jira/browse/FLINK-24755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438169#comment-17438169
 ] 

Aitozi commented on FLINK-24755:
--------------------------------

You can also refer to 
[https://stackoverflow.com/questions/46477989/intellij-doesnt-see-some-non-public-jdk-9-classes-during-compilation]
 for some information .

I test by {{rm -rf flink-test-utils-parent/flink-test-utils-junit/target}} and 
run test with {{–release}}  option enable it can reproduce the sun.misc not 
exist.

 
----
 

Regarding the previous ticket to change the target to 8 , I think it make sense 
to support flink still run on jdk8, but can we support jdk11 bytecode default, 
and give an opt to let user to build a target 8 (cause jdk11 bytecode run jdk11 
is the standard way). I think, In this way this problem will disappear

> sun.misc doesn't exist
> ----------------------
>
>                 Key: FLINK-24755
>                 URL: https://issues.apache.org/jira/browse/FLINK-24755
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.15.0
>            Reporter: Aitozi
>            Priority: Major
>         Attachments: image-2021-11-03-23-19-58-036.png, 
> image-2021-11-03-23-42-30-441.png
>
>
> After FLINK-24634 , the default target is jdk8. When I running tests from 
> IDE, some compiler error come up. I revert the change and test again, It can 
> work now. It's also ok to build from command.
> I can not quite figure it out , can you give some inputs [~chesnay]
> !image-2021-11-03-23-19-58-036.png|width=1227,height=108!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to