Classification: |
Java |
Category: |
Applet |
Created: |
04/11/2000 |
Modified: |
08/24/2001 |
Number: |
FAQ-0483 |
Platform: |
ER5 |
|
Question: Calling System.getProperty in an applet running in the web browser causes an AppletSecurityException regardless of which property
is requested. Yet the Sun JDK Docs say that only java.home, java.class.path, user.name, user.home & user.dir are protected.
Answer: This is a known defect of the ER5 Runtime for Java. It has been fixed for the next EPOC Java release. Note added 10/1/2000: This appears still to be broken in v6.0 of the Symbian platform. It is currently under investigation. The work around for ER5 follows:
Unzipping the following zip into the /classes folder or patching it into classes.zip, overwriting the existing copy of EikEmbeddedFrame.class,
will allow you to access from unsigned applets the system properties you should. This patch works equally well on the emulator
and on ER5-based devices.
|