|
Myrna van Lunteren made changes - 12/Feb/06 10:49 AM
Suresh Thalamati made changes - 15/Feb/06 10:00 AM
-- Added a missing privileged blocks for I/O call in StreamFileContainer.java , this class is used by the sort during index creation ..etc. -- Enabled some of the tests which were not running under security manager earlier because of this bug to run by default with security manager. -- removed the additional permissions from the derby test policy file that were added earlier to avoid this bug for some test cases. TESTS : derbyall test suite passed on Windows XP/JDK142/ with sane classes directory and insane jars. It would be great if some can review and commit this patch. svn stat: M java\engine\org\apache\derby\impl\store\raw\data\StreamFileContainer.java M java\testing\org\apache\derbyTesting\functionTests\tests\lang\compressTable_app.properties M java\testing\org\apache\derbyTesting\functionTests\tests\lang\authorize_app.properties M java\testing\org\apache\derbyTesting\functionTests\tests\lang\wisconsin_app.properties M java\testing\org\apache\derbyTesting\functionTests\tests\lang\syscat_app.properties M java\testing\org\apache\derbyTesting\functionTests\tests\store\holdCursorExternalSortJDBC30_app.properties M java\testing\org\apache\derbyTesting\functionTests\tests\store\access_app.properties M java\testing\org\apache\derbyTesting\functionTests\tests\store\testsqldecimal_app.properties M java\testing\org\apache\derbyTesting\functionTests\util\derby_tests.policy
Suresh Thalamati made changes - 08/Mar/06 03:42 AM
Suresh Thalamati made changes - 08/Mar/06 03:43 AM
I have reviewed, tested and committed the submitted patch for this issue.
m1_142:13>svn commit Sending java\engine\org\apache\derby\impl\store\raw\data\StreamFileContai ner.java Sending java\testing\org\apache\derbyTesting\functionTests\tests\lang\aut horize_app.properties Sending java\testing\org\apache\derbyTesting\functionTests\tests\lang\com pressTable_app.properties Sending java\testing\org\apache\derbyTesting\functionTests\tests\lang\sys cat_app.properties Sending java\testing\org\apache\derbyTesting\functionTests\tests\lang\wis consin_app.properties Sending java\testing\org\apache\derbyTesting\functionTests\tests\store\ac cess_app.properties Sending java\testing\org\apache\derbyTesting\functionTests\tests\store\ho ldCursorExternalSortJDBC30_app.properties Sending java\testing\org\apache\derbyTesting\functionTests\tests\store\te stsqldecimal_app.properties Sending java\testing\org\apache\derbyTesting\functionTests\util\derby_tes ts.policy Transmitting file data ......... Committed revision 384282.
Suresh Thalamati made changes - 11/Mar/06 02:31 AM
backported this fix from trunk into 10.1 line:
m101_142:62>svn commit Sending java\engine\org\apache\derby\impl\store\raw\data\StreamFileContai ner.java Sending java\testing\org\apache\derbyTesting\functionTests\tests\lang\aut horize_app.properties Sending java\testing\org\apache\derbyTesting\functionTests\tests\lang\wis consin_app.properties Sending java\testing\org\apache\derbyTesting\functionTests\util\derby_tes ts.policy Transmitting file data .... Committed revision 397945.
Mike Matrigali made changes - 28/Apr/06 11:31 PM
Daniel John Debrunner made changes - 12/Jul/06 06:48 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DERBY-943is most likely related to this issue.See also the mail archives:
http://mail-archives.apache.org/mod_mbox/db-derby-dev/200602.mbox/%3cc25576af0602110801w12544eb7i517b984f0e1b7651@mail.gmail.com%3e
and:
http://mail-archives.apache.org/mod_mbox/db-derby-dev/200602.mbox/%3c43EE0E60.7000103@apache.org%3e
So, For 'fixing' the nightly failure issue of
DERBY-943, I will add the read, write, delete java.io.FilePermission to derby_tests.policy for the syscatdb/tmp dir (and under) in the derbynet.jar section. When this (DERBY-616) bug gets fixed, that section should also be taken out, and syscat.sql should be confirmed to work successfully with ibm142 jvm.