Then i will supply a patch for it

2007/6/29, Tim Ellison <[EMAIL PROTECTED]>:

Sean Qiu wrote:
> When i am running derby's junit test.I find a error caused by lacking
> of pemission of read system "jdbc.drivers" property while initialize
> DriverManager class.
>
> Initialize DriverManager class will invoke the method of
> DriverManager.loadInitialDrivers(). This static method will read
> system property of "jdbc.drivers", this will throw
> java.security.AccessControlException cause the
> java.lang.ExceptionInInitializerError. I have reprot a jira in
> HARMONY-4303 [1].
>
> Shall we call AccessController.doPrivileged to grant it the read
> permision ?

Yes.

Regards,
Tim

> [1] https://issues.apache.org/jira/browse/HARMONY-4303
>




--
Sean Qiu

Reply via email to