Hi Craig,
some Bundle.properties files in core20, runtime20, query20 and fostore20 define error messages that still use the phrase "JDO Reference Implementation (jdo.jar and jdo-ri.jar)". I changed the error messages. Please find a patch file for review attached.
Regards Michael
--
Michael Bouschen [EMAIL PROTECTED] Engineering GmbH
Tel.:++49/30/235 520-33 Buelowstr. 66
Fax.:++49/30/2175 2012 D-10783 Berlin
Index: fostore20/src/java/org/apache/jdo/impl/fostore/Bundle.properties
===================================================================
--- fostore20/src/java/org/apache/jdo/impl/fostore/Bundle.properties (revision 231187)
+++ fostore20/src/java/org/apache/jdo/impl/fostore/Bundle.properties (working copy)
@@ -36,7 +36,7 @@
trying to read the system property ''{0}''. \
\n{1}\
\nYou must grant java.util.PropertyPermission("*","read") to the codeBase \
-containing the JDO Reference Implementation (jdo-ri.jar).
+containing the fostore implementation.
#
# AbstractRequest
@@ -155,7 +155,7 @@
EXC_CannotSpecifyStreamHandler=A SecurityException was thrown when trying to \
connect to the fostore database. You must grant \
java.net.NetPermission("specifyStreamHandler") to the codeBase \
-containing the JDO Reference Implementation (jdo-ri.jar).
+containing the fostore implementation.
#
# FOStoreConnector
@@ -169,22 +169,20 @@
#
EXC_SecurityExceptionOnCreateBtreeStorage=A SecurityException was thrown when trying to \
create a fostore datastore. You must grant the following permissions to the \
-codeBases containing the JDO Reference Implementation (jdo-ri.jar and \
-btree.jar): \
+codeBases containing the fostore and btree implementation: \
java.io.FilePermission("<fostore database files>","read,write,delete") and \
java.util.PropertyPermission("*","read").
EXC_SecurityExceptionOnCloseBtreeStorage=A SecurityException was thrown when trying to \
close a fostore datastore. You must grant the following permissions to the \
-codeBases containing the JDO Reference Implementation (jdo-ri.jar and \
-btree.jar): \
+codeBases containing the fostore and btree implementation: \
java.io.FilePermission("<fostore database files>","read,write,delete") and \
java.util.PropertyPermission("*","read").
EXC_CannotReadFile=A SecurityException was thrown when trying to read file or \
directory ''{0}''. You must grant java.io.FilePermission("{0}","read") to the \
-codeBase containing the JDO Reference Implementation (jdo-ri.jar).
+codeBase containing the fostore implementation.
EXC_CannotDeleteFile=A SecurityException was thrown when trying to delete file \
or directory ''{0}''. You must grant java.io.FilePermission("{0}","delete") to \
-the codeBase containing the JDO Reference Implementation (jdo-ri.jar).
+the codeBase containing the fostore implementation.
#NOI18N
ERR_CLIDNotProv=given CLID is not provisional: {0}.
#NOI18N
Index: runtime20/src/java/org/apache/jdo/impl/state/Bundle.properties
===================================================================
--- runtime20/src/java/org/apache/jdo/impl/state/Bundle.properties (revision 231187)
+++ runtime20/src/java/org/apache/jdo/impl/state/Bundle.properties (working copy)
@@ -31,12 +31,12 @@
EXC_CannotGetJDOImplHelper=A SecurityException was thrown when trying to get \
the singleton JDOImplHelper instance. In order to get runtime metadata, you \
must grant javax.jdo.spi.JDOPermission("getMetadata") to the codeBases \
-containing the JDO Reference Implementation (jdo.jar and jdori.jar).
+containing the state manager implementation.
EXC_CannotSetStateManager=A SecurityException was thrown when calling \
jdoReplaceStateManager on persistence capable class instance. In order to set \
the state manager, you must grant \
javax.jdo.spi.JDOPermission("setStateManager") to the codeBases containing \
-the JDO Reference Implementation (jdo.jar and jdori.jar) and to the codeBase \
+the state manager implementation and to the codeBase \
containing the class files of the persistent capable classes.
This was a bug in the early implementation. The PC classes do not need setStateManager permission. I suggest: