diff --git a/icu4j/build.xml b/icu4j/build.xml index 86feeb4425..ae88f8a8c5 100644 --- a/icu4j/build.xml +++ b/icu4j/build.xml @@ -11,6 +11,7 @@ + @@ -77,6 +78,7 @@ + @@ -92,12 +94,12 @@ - - - + + + - + @@ -123,13 +125,6 @@ - - - - - - - @@ -137,7 +132,7 @@ - + @@ -200,7 +195,7 @@ - + @@ -209,6 +204,25 @@ + + + + + + + + + + + + + + + + + + @@ -244,6 +258,16 @@ + + + + + + + + + @@ -283,7 +307,7 @@ - + diff --git a/icu4j/main/shared/data/security.policy b/icu4j/main/shared/data/security.policy index 00ff7cf880..8b9014a374 100644 --- a/icu4j/main/shared/data/security.policy +++ b/icu4j/main/shared/data/security.policy @@ -34,15 +34,13 @@ grant // this is so ICUData (in icu4j.jar), called from test code (in core/charset tests jar) // can read test resource files (in core/charset tests jar) // -grant codebase "file:${user.dir}/main/classes/core/out/lib/icu4j.jar" +grant codebase "file:${user.dir}/icu4j.jar" { - permission java.io.FilePermission "${/}${user.dir}${/}main${/}tests${/}core${/}out${/}lib${/}icu4j-core-tests.jar", "read"; - permission java.io.FilePermission "${/}${user.dir}${/}main${/}tests${/}charset${/}out${/}lib${/}icu4j-charset-tests.jar", "read"; - permission java.io.FilePermission "${/}${user.dir}${/}main${/}classes${/}charset${/}out${/}lib${/}icu4j-charsets.jar", "read"; + permission java.io.FilePermission "${/}${user.dir}${/}icu4jtests.jar", "read"; + permission java.io.FilePermission "${/}${user.dir}${/}icu4j-charsets.jar", "read"; }; -grant codebase "file:${user.dir}/main/tests/framework/out/lib/icu4j-test-framework.jar" +grant codebase "file:${user.dir}/icu4jtests.jar" { - permission java.io.FilePermission "${/}${user.dir}${/}main${/}tests${/}core${/}out${/}lib${/}icu4j-core-tests.jar", "read"; - permission java.io.FilePermission "${/}${user.dir}${/}main${/}tests${/}charset${/}out${/}lib${/}icu4j-charset-tests.jar", "read"; + permission java.io.FilePermission "${/}${user.dir}${/}icu4j.jar", "read"; }; \ No newline at end of file