• Post Reply Bookmark Topic Watch Topic
  • New Topic

Why doesn't this pass?  RSS feed

 
Robert Paris
Ranch Hand
Posts: 585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following code:

Can someone explain why the above throws a SecurityException (doesn't have permission to write to the file)? I thought that it would check the permission against the AccessControlContext passed in? Am i wrong on this?
Note: I'm using JRE 1.3.1 here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!