[1680] in java-interest

home help back first fref pref prev next nref lref last post

Final classes for safety or speed?

daemon@ATHENA.MIT.EDU (Pat Niemeyer)
Thu Sep 14 03:16:49 1995

Date: Wed, 13 Sep 1995 22:32:40 -0500 (CDT)
From: Pat Niemeyer <pat@icon-stl.net>
To: java-interest@java.sun.com



Are the many final classes in the core java packages final for security
reasons or simply to make it possible for them to be optimized/inlined?

Are there any circumstances under which a maliciously subclassed base class
could take advantage of having its methods invoked by a more priviledged
class?  Would it be able to get around the namespace partitioning and make
static references to things it otherwise couldn't see?



Pat
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post