XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 32.0.0.Beta1, 32.0.0.Final
    • 31.0.0.Beta1
    • Mail
    • None
    • ---
    • ---

      The Standalone Mail TCK gets the following failure that needs to be investigated:

      [javatest.batch] java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
      [javatest.batch] at java.base/java.lang.System.setSecurityManager(System.java:429)
      [javatest.batch] at com.sun.javatest.JavaTestSecurityManager.install(JavaTestSecurityManager.java:84)
      [javatest.batch] at com.sun.javatest.tool.Main.run(Main.java:291)
      [javatest.batch] at com.sun.javatest.tool.Main.main0(Main.java:150)
      [javatest.batch] at com.sun.javatest.tool.Main.main(Main.java:130)
      [javatest.batch] Java Result: 4

      We also see the similar (setup) failures with our Platform TCK 10.0.3 testing that is likely causing 8 TCK failures:

      populateMailbox:
      [java] java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
      [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:891)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:231)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
      [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
      [java] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [java] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
      [java] at org.apache.tools.ant.Task.perform(Task.java:350)
      [java] at org.apache.tools.ant.Target.execute(Target.java:449)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
      [java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
      [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
      [java] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [java] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
      [java] at org.apache.tools.ant.Task.perform(Task.java:350)
      [java] at org.apache.tools.ant.Target.execute(Target.java:449)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
      [java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
      [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
      [java] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [java] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
      [java] at org.apache.tools.ant.Task.perform(Task.java:350)
      [java] at org.apache.tools.ant.Target.execute(Target.java:449)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
      [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
      [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
      [java] at org.apache.tools.ant.Main.runBuild(Main.java:818)
      [java] at org.apache.tools.ant.Main.startAnt(Main.java:223)
      [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
      [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
      [java] Caused by: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
      [java] at java.base/java.lang.System.setSecurityManager(System.java:429)
      [java] at org.apache.tools.ant.types.Permissions.setSecurityManager(Permissions.java:103)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:216)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:155)
      [java] ... 41 more
      [java] Java Result: -1
      [echo]
      [java] java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
      [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:891)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:231)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
      [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
      [java] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [java] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
      [java] at org.apache.tools.ant.Task.perform(Task.java:350)
      [java] at org.apache.tools.ant.Target.execute(Target.java:449)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
      [java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
      [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
      [java] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [java] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
      [java] at org.apache.tools.ant.Task.perform(Task.java:350)
      [java] at org.apache.tools.ant.Target.execute(Target.java:449)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
      [java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
      [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
      [java] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [java] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
      [java] at org.apache.tools.ant.Task.perform(Task.java:350)
      [java] at org.apache.tools.ant.Target.execute(Target.java:449)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
      [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
      [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
      [java] at org.apache.tools.ant.Main.runBuild(Main.java:818)
      [java] at org.apache.tools.ant.Main.startAnt(Main.java:223)
      [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
      [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
      [java] Caused by: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
      [java] at java.base/java.lang.System.setSecurityManager(System.java:429)
      [java] at org.apache.tools.ant.types.Permissions.setSecurityManager(Permissions.java:103)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:216)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:155)
      [java] ... 41 more
      [java] Java Result: -1
      [echo]
      [java] java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
      [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:891)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:231)
      [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
      [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
      [java] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [java] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
      [java] at org.apache.tools.ant.Task.perform(Task.java:350)
      [java] at org.apache.tools.ant.Target.execute(Target.java:449)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
      [java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
      [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
      [java] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [java] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
      [java] at org.apache.tools.ant.Task.perform(Task.java:350)
      [java] at org.apache.tools.ant.Target.execute(Target.java:449)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
      [java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
      [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
      [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
      [java] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [java] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
      [java] at org.apache.tools.ant.Task.perform(Task.java:350)
      [java] at org.apache.tools.ant.Target.execute(Target.java:449)
      [java] at org.apache.tools.ant.Target.performTasks(Target.java:470)
      [java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
      [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
      [java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
      [java] at org.apache.tools.ant.Main.runBuild(Main.java:818)
      [java] at org.apache.tools.ant.Main.startAnt(Main.java:223)
      [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
      [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
      [java] Caused by: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
      [java] at java.base/java.lang.System.setSecurityManager(System.java:429)
      [java] at org.apache.tools.ant.types.Permissions.setSecurityManager(Permissions.java:103)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:216)
      [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:155)
      [java] ... 41 more
      [java] Java Result: -1

            yborgess1@redhat.com Yeray Borges Santana
            smarlow1@redhat.com Scott Marlow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: