Skip to content

Commit

Permalink
Upgrade to JUnit 4.12 (#23877)
Browse files Browse the repository at this point in the history
* Upgrade to JUnit 4.12
* Add permission to junit 4.12 and remove junit4-ant specific permission

Backport of #23877 in 5.x branch
  • Loading branch information
dadoonet committed May 2, 2017
1 parent 3da847a commit fb21caf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jna = 4.4.0

# test dependencies
randomizedrunner = 2.5.0
junit = 4.11
junit = 4.12
httpclient = 4.5.2
httpcore = 4.4.5
commonslogging = 1.1.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,7 @@ grant codeBase "${codebase.randomizedtesting-runner-2.5.0.jar}" {
permission java.lang.RuntimePermission "accessDeclaredMembers";
};

grant codeBase "${codebase.junit4-ant-2.3.2.jar}" {
// needed for stream redirection
permission java.lang.RuntimePermission "setIO";
};

grant codeBase "${codebase.junit-4.11.jar}" {
grant codeBase "${codebase.junit-4.12.jar}" {
// needed for TestClass creation
permission java.lang.RuntimePermission "accessDeclaredMembers";
};

0 comments on commit fb21caf

Please sign in to comment.