Security ClassLoader Problem
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Suratman_Usin
Posted On:   Saturday, June 2, 2001 12:28 PM

I tried the "Fundamental of Java Security" exercise#1. When I "moved" the tester.class to test subdirectory as instructed, the loading is succesful but I got IllegalAccessException because of newInstance(). After playing around, I just "copied" rather than "moved" the tester.java and everything works fine!
I'm curious what is the problem with moving to the subdirectory creates that exception when trying to create a new instance of the class already successfully loaded?? Is my approach to just "copy" right? Thanks for whoever respond to this problem :)

--Suratman

About | Sitemap | Contact