+2005-04-26 Michael Koch <konqueror@gmx.de>
+
+ * java/lang/System.java
+ (setSecurityManager): Fixed comment.
+ (getSecurityManager): Removed obsolete comment.
+
2005-04-25 Tom Tromey <tromey@redhat.com>
* java/awt/AWTKeyStroke.java (vktable): Now package-private.
*/
public static synchronized void setSecurityManager(SecurityManager sm)
{
- // Implementation note: the field lives in Runtime because of bootstrap
- // initialization issues. This method is synchronized so that no other
- // thread changes it to null before this thread makes the change.
+ // Implementation note: the field lives in SecurityManager because of
+ // bootstrap initialization issues. This method is synchronized so that
+ // no other thread changes it to null before this thread makes the change.
if (SecurityManager.current != null)
SecurityManager.current.checkPermission
(new RuntimePermission("setSecurityManager"));
*/
public static SecurityManager getSecurityManager()
{
- // Implementation note: the field lives in Runtime because of bootstrap
- // initialization issues.
return SecurityManager.current;
}