Build #67

Build: #67 failed Changes by Dawid Weiss and Robert Muir <rmuir@apache.org>

Stages & jobs

  1. Compile and test

  2. Package

Code commits

GitHub

  • Dawid Weiss

    Dawid Weiss d8a4efc1f1da6f8d534ec421bccddd702ac621d5

    Merge pull request #202 from rmuir/securitymanager
    Add a security-manager test/example and clean up permissions.

  • Robert Muir <rmuir@apache.org>

    Robert Muir <rmuir@apache.org> b8e05e10128fe52447a54b47d653c24696b2f50f

    link into POM and fix java 6 compile

    • junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/events/Serializer.java (version b8e05e10128fe52447a54b47d653c24696b2f50f)
    • pom.xml (version b8e05e10128fe52447a54b47d653c24696b2f50f)
    • randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/RandomizedRunner.java (version b8e05e10128fe52447a54b47d653c24696b2f50f)
    • randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/rules/StaticFieldsInvariantRule.java (version b8e05e10128fe52447a54b47d653c24696b2f50f)
  • Robert Muir <rmuir@apache.org>

    Robert Muir <rmuir@apache.org> 637c5e80da8c6cdd0f279e64cb6b8e47f3b2c26a

    Break out runtime permission and improve testing

    • examples/security-manager/pom.xml (version 637c5e80da8c6cdd0f279e64cb6b8e47f3b2c26a)
    • examples/security-manager/security.policy (version 637c5e80da8c6cdd0f279e64cb6b8e47f3b2c26a)
    • examples/security-manager/src/test/java/com/carrotsearch/examples/randomizedrunner/DelegatingRunner.java (version 637c5e80da8c6cdd0f279e64cb6b8e47f3b2c26a)
    • examples/security-manager/src/test/java/com/carrotsearch/examples/randomizedrunner/TestExample.java (version 637c5e80da8c6cdd0f279e64cb6b8e47f3b2c26a)
    • junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/slave/SlaveMain.java (version 637c5e80da8c6cdd0f279e64cb6b8e47f3b2c26a)
    • randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/RandomizedRunner.java (version 637c5e80da8c6cdd0f279e64cb6b8e47f3b2c26a)
    • randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/ThreadLeakControl.java (version 637c5e80da8c6cdd0f279e64cb6b8e47f3b2c26a)
    • randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/Threads.java (version 637c5e80da8c6cdd0f279e64cb6b8e47f3b2c26a)
  • Robert Muir <rmuir@apache.org>

    Robert Muir <rmuir@apache.org> 5e1a032f5fdd1bf08873c3ffb58701b98924e5ce

    clean up more setAccessible

    • examples/security-manager/pom.xml (version 5e1a032f5fdd1bf08873c3ffb58701b98924e5ce)
    • examples/security-manager/security.policy (version 5e1a032f5fdd1bf08873c3ffb58701b98924e5ce)
    • examples/security-manager/src/test/java/com/carrotsearch/examples/randomizedrunner/TestExample.java (version 5e1a032f5fdd1bf08873c3ffb58701b98924e5ce)
    • randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/RandomizedRunner.java (version 5e1a032f5fdd1bf08873c3ffb58701b98924e5ce)
    • randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/rules/RamUsageEstimator.java (version 5e1a032f5fdd1bf08873c3ffb58701b98924e5ce)
    • randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/rules/StaticFieldsInvariantRule.java (version 5e1a032f5fdd1bf08873c3ffb58701b98924e5ce)
  • Robert Muir <rmuir@apache.org>

    Robert Muir <rmuir@apache.org> 3ff879ad89c75352f930a3d622c942a39ef511ee

    Add an example that runs under securitymanager. It like a "test" that no strange permissions are needed.
    Its build sets properties for the URLs of randomized-runner and junit4-ant jar files,
    this way test-framework jars can have different permissions than test classes.

    As a first step, the suppressAccessChecks permission (pure evil) needed by the gson serializer
    is encapsulated within an AccessController block, and only the junit4 runner gets this permission.

    • examples/security-manager/pom.xml (version 3ff879ad89c75352f930a3d622c942a39ef511ee)
    • examples/security-manager/security.policy (version 3ff879ad89c75352f930a3d622c942a39ef511ee)
    • examples/security-manager/src/test/java/com/carrotsearch/examples/randomizedrunner/TestExample.java (version 3ff879ad89c75352f930a3d622c942a39ef511ee)
    • junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/events/Serializer.java (version 3ff879ad89c75352f930a3d622c942a39ef511ee)