Regarding DERBY-1272

2007-10-22 Thread Ramin Moazeni
Hello In writing test for DERBY-1272, I receive the following exception 1)testDerbyLog(org.apache.derbyTesting.functionTests.tests.lang.DerbyLogTest)java.security.AccessControlException: access denied (java.util.PropertyPermission derby.system.home read) and the reason is because I am trying to

Re: Regarding DERBY-1272

2007-10-22 Thread Rick Hillegas
Hi Ramin, The problem may be that your test is not reading derby.system.home from inside a privileged block. If your test extends BaseTestCase, then you can call getSystemProperty() to read derby.system.home and that method will set up the privileged block needed to read the property. Hope