You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xingbo Huang (Jira)" <ji...@apache.org> on 2023/04/07 08:12:00 UTC

[jira] [Closed] (FLINK-31726) PyFlink module java.base does not "opens java.lang" to unnamed module

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

Xingbo Huang closed FLINK-31726.
--------------------------------
    Resolution: Not A Problem

Flink doesn't support JDK 19, you can try to use jdk 8 or jdk 11.

> PyFlink module java.base does not "opens java.lang" to unnamed module
> ---------------------------------------------------------------------
>
>                 Key: FLINK-31726
>                 URL: https://issues.apache.org/jira/browse/FLINK-31726
>             Project: Flink
>          Issue Type: Bug
>            Reporter: padavan
>            Priority: Major
>
> I want to run simple example from Flink documentation. And after start i got exception:
> {code:java}
> Unable to make field private final byte[] java.lang.String.value accessible: module java.base does not "opens java.lang" to unnamed module @228575c0{code}
> Installed:
> {code:java}
> Python 3.10.6
> openjdk version "19.0.2" 2023-01-17 
> OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04) 
> OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing){code}
> Simple code from flink site:
> [https://nightlies.apache.org/flink/flink-docs-master/api/python/examples/datastream/word_count.html]



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