lack of final modifier in Applet methods

Tim Boemker (tjb839@optimum.com)
Fri, 27 Dec 1996 12:59:05 -0400

Message-Id: <v01530500aee9ad7f2429@[198.81.219.249]>
Date: Fri, 27 Dec 1996 12:59:05 -0400
To: java-security@java
From: tjb839@optimum.com (Tim Boemker)
Subject: lack of final modifier in Applet methods

It seems to me that it would be better to make certain Applet methods
(e.g., getAppletContext, getCodeBase, getDocumentBase) final.

If getCodeBase were final, for example, it would be possible for a number
of applets hosted on the same site to exchange sensitive information among
themselves, knowing that they were not sharing it with a rogue applet.