zentol commented on a change in pull request #9258: [FLINK-13460][tests] Rework SerializedThrowableTest to not use Unsafe#defineClass() URL: https://github.com/apache/flink/pull/9258#discussion_r314207388
########## File path: flink-test-utils-parent/flink-test-utils-junit/src/main/java/org/apache/flink/core/testutils/CommonTestUtils.java ########## @@ -159,14 +159,14 @@ public static void setEnv(Map<String, String> newenv, boolean clearExisting) { /** * A new object and the corresponding ClassLoader for that object, as returned by - * {@link #createObjectFromNewClassLoader(ClassLoader)}. + * {@link #createSerializableObjectFromNewClassLoader(ClassLoader)}. Review comment: IIRC it's also important for the using tests that this thing is actually serializable. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services