Repository: tapestry-5 Updated Branches: refs/heads/master 8b90518ff -> 641d34a71
TAP5-2517: fix test for Java 6 Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/641d34a7 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/641d34a7 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/641d34a7 Branch: refs/heads/master Commit: 641d34a711b62d7e876bdc9fcb2362f4badb4a69 Parents: 8b90518 Author: Jochen Kemnade <[email protected]> Authored: Thu Nov 12 13:05:40 2015 +0100 Committer: Jochen Kemnade <[email protected]> Committed: Thu Nov 12 13:07:45 2015 +0100 ---------------------------------------------------------------------- .../src/test/groovy/ioc/specs/ClasspathResourceSpec.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/641d34a7/tapestry-ioc/src/test/groovy/ioc/specs/ClasspathResourceSpec.groovy ---------------------------------------------------------------------- diff --git a/tapestry-ioc/src/test/groovy/ioc/specs/ClasspathResourceSpec.groovy b/tapestry-ioc/src/test/groovy/ioc/specs/ClasspathResourceSpec.groovy index f50111b..1550adf 100644 --- a/tapestry-ioc/src/test/groovy/ioc/specs/ClasspathResourceSpec.groovy +++ b/tapestry-ioc/src/test/groovy/ioc/specs/ClasspathResourceSpec.groovy @@ -290,7 +290,7 @@ class ClasspathResourceSpec extends Specification { def resourceURLs = currentCl.findResources resourcePath def slf4jApiURL = resourceURLs.find{it.toString().contains('.jar!')} - ClassLoader cl = new URLClassLoader(slf4jApiURL as URL[], null, AccessController.getContext()) + ClassLoader cl = new URLClassLoader(slf4jApiURL as URL[], (ClassLoader) null) ClasspathResource r = new ClasspathResource(cl, resourcePath)
