Hi, Nirmal. It's OK to access a file in AccessController.doPrivileged() method, you can look into openTestResource()method in BaseTestCase for a example.
Regards Yun 2010/7/8 Nirmal Fernando <[email protected]>: > Hi All, > > To allow a derby class to read an external file using > java.io.* do I need to grant file permissions to derby? > > If so can someone please suggest me the way of doing it. > > Thank you very much! > > -- > Best Regards, > Nirmal > > C.S.Nirmal J. Fernando > Department of Computer Science & Engineering, > Faculty of Engineering, > University of Moratuwa, > Sri Lanka. >
