8068682: Deprivilege/move java.corba to the ext class loader
authormsheppar
Mon, 16 Feb 2015 00:10:42 +0000
changeset 28967 7a1ceff4aea2
parent 28966 a5a2f36ea4bd
child 28968 3799e4eca33b
child 29033 e70dcf797a33
8068682: Deprivilege/move java.corba to the ext class loader Reviewed-by: alanb, mchung
jdk/make/src/classes/build/tools/module/boot.modules
jdk/make/src/classes/build/tools/module/ext.modules
jdk/src/java.base/share/conf/security/java.policy
--- a/jdk/make/src/classes/build/tools/module/boot.modules	Fri Feb 13 10:44:53 2015 -0800
+++ b/jdk/make/src/classes/build/tools/module/boot.modules	Mon Feb 16 00:10:42 2015 +0000
@@ -1,7 +1,6 @@
 java.base
 java.desktop
 java.compiler
-java.corba
 java.instrument
 java.logging
 java.management
--- a/jdk/make/src/classes/build/tools/module/ext.modules	Fri Feb 13 10:44:53 2015 -0800
+++ b/jdk/make/src/classes/build/tools/module/ext.modules	Mon Feb 16 00:10:42 2015 +0000
@@ -1,3 +1,4 @@
+java.corba
 java.activation
 java.annotations.common
 java.xml.bind
--- a/jdk/src/java.base/share/conf/security/java.policy	Fri Feb 13 10:44:53 2015 -0800
+++ b/jdk/src/java.base/share/conf/security/java.policy	Mon Feb 16 00:10:42 2015 +0000
@@ -1,4 +1,8 @@
 // permissions required by each component
+grant codeBase "jrt:/java.corba" {
+        permission java.security.AllPermission;
+};
+
 grant codeBase "jrt:/jdk.zipfs" {
         permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
         permission java.lang.RuntimePermission "fileSystemProvider";