Open GoogleCodeExporter opened 9 years ago
Hi,
I managed to make it work in a signed applet.
The modifications I made consist essentially in three points:
- override the getPermissions(CodeSource) method in BshClassLoader
- catch an exception when calling getDeclaredFields/Methods/Constructors and
call
getFields/Methods/Constructors instead
- avoid calling field.setAccessible(), or at least catch an exception
Maybe I broke something with this (I should run some tests to verify it), but it
seems to work...
You can find attached a diff file with my (actually rough) modifications.
regards
Luigi
ps. the project I'm working on is this:
http://sourceforge.net/projects/javaclientpages/
Original comment by luigi.de...@gmail.com
on 21 Aug 2009 at 7:57
Attachments:
Original issue reported on code.google.com by
luigi.de...@gmail.com
on 10 Aug 2009 at 7:57