A solution to the final classes problem

Debasish Ray Chawdhuri debasish.raychawdhuri at gmail.com
Sun Sep 2 19:06:19 PDT 2012


Most importantly, there is no way a making a FileChooser final would
impose any security. Because, anyway the code showing the FileChooser
can use the file chosen anyway it wants. Also, since the FileChooser
does not run in a separate sandbox, the API used by FileChooser, can
be directly used by any code to do what it wants. FileChooser is just
a utility, there is no way the security should be implemented there,
the security has to be in the JVM itself, and then there would be no
reason to worry about anything else.


-- 
Debasish Ray Chawdhuri
http://www.geekyarticles.com/
[A collection of advanced articles on java]


More information about the openjfx-dev mailing list