Chesnay Schepler created FLINK-32544: ----------------------------------------
Summary: PythonFunctionFactoryTest fails on Java 17 Key: FLINK-32544 URL: https://issues.apache.org/jira/browse/FLINK-32544 Project: Flink Issue Type: Sub-task Components: API / Python, Legacy Components / Flink on Tez Affects Versions: 1.18.0 Reporter: Chesnay Schepler https://dev.azure.com/chesnay/flink/_build/results?buildId=3676&view=logs&j=fba17979-6d2e-591d-72f1-97cf42797c11&t=727942b6-6137-54f7-1ef9-e66e706ea068 {code} Jul 05 10:17:23 Exception in thread "main" java.lang.reflect.InaccessibleObjectException: Unable to make field private static java.util.IdentityHashMap java.lang.ApplicationShutdownHooks.hooks accessible: module java.base does not "opens java.lang" to unnamed module @1880a322 Jul 05 10:17:23 at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) Jul 05 10:17:23 at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) Jul 05 10:17:23 at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178) Jul 05 10:17:23 at java.base/java.lang.reflect.Field.setAccessible(Field.java:172) Jul 05 10:17:23 at org.apache.flink.client.python.PythonFunctionFactoryTest.closeStartedPythonProcess(PythonFunctionFactoryTest.java:115) Jul 05 10:17:23 at org.apache.flink.client.python.PythonFunctionFactoryTest.cleanEnvironment(PythonFunctionFactoryTest.java:79) Jul 05 10:17:23 at org.apache.flink.client.python.PythonFunctionFactoryTest.main(PythonFunctionFactoryTest.java:52) {code} Side-notes: * maybe re-evaluate if the test could be run through maven now * The shutdown hooks business is quite sketchy, and AFAICT would be unnecessary if the test were an ITCase -- This message was sent by Atlassian Jira (v8.20.10#820010)