snuyanzin commented on code in PR #23547:
URL: https://github.com/apache/flink/pull/23547#discussion_r1372332320


##########
flink-core/pom.xml:
##########
@@ -34,7 +34,14 @@ under the License.
        <packaging>jar</packaging>
 
        <properties>
-               <surefire.module.config> <!--
+               <!--
+               Two properties below should be merged once support for jdk8 and 
jdk11 is dropped.
+               The reason of extraction into a separate property with profile 
is that
+               specifying -Djava.security.manager=allow within 
${surefire.module.config} leads to
+               hanging of surefire for jdk8 and jdk11

Review Comment:
   It seems current surefire plugin (3.0.0-M5) swallows the error, i bumped 
locally to 3.0.0-M6 and received a bit more info 
   ```
   Error occurred during initialization of VM
   java.lang.Error: Could not create SecurityManager
        at java.lang.System.initPhase3([email protected]/System.java:2078)
   Caused by: java.lang.ClassNotFoundException: allow
        at 
jdk.internal.loader.BuiltinClassLoader.loadClass([email protected]/BuiltinClassLoader.java:581)
        at 
jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass([email protected]/ClassLoaders.java:178)
        at 
java.lang.ClassLoader.loadClass([email protected]/ClassLoader.java:527)
        at java.lang.Class.forName0([email protected]/Native Method)
        at java.lang.Class.forName([email protected]/Class.java:398)
        at java.lang.System.initPhase3([email protected]/System.java:2063)
   ```
   



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to