* java/lang/Thread.java (checkAccess): Now final.

From-SVN: r38273
This commit is contained in:
Tom Tromey 2000-12-15 06:15:49 +00:00 committed by Tom Tromey
parent 4ca70ccd2a
commit 8eb1306fb7
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2000-12-14 Tom Tromey <tromey@redhat.com>
* java/lang/Thread.java (checkAccess): Now final.
* java/lang/RuntimePermission.java: Class now final.
* java/io/StringWriter.java (StringWriter(int)): Now public.

View File

@ -37,7 +37,7 @@ public class Thread implements Runnable
return currentThread().getThreadGroup().activeCount();
}
public void checkAccess ()
public final void checkAccess ()
{
SecurityManager s = System.getSecurityManager();
if (s != null)