• Post Reply Bookmark Topic Watch Topic
  • New Topic

SecurityManager - checkPackageAccess() used by Bootstrap CL?  RSS feed

 
Victor Ho
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If I have a custom SecurityManager set, does its checkPackageAccess() get invoked when Bootstrap CL tries to load classes?

Java docs says ClassLoader's loadClass() would invoke checkPackageAccess(), but I want to check for Bootstrap CL also.

http://java.sun.com/j2se/1.3/docs/api/java/lang/SecurityManager.html

Thanks
 
Norm Radder
Rancher
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could this question be answered by actually writing the code and testing it?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!