This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Scala and SecurityManager - reflection

No replies
fanf
Joined: 2009-03-17,
User offline. Last seen 2 years 30 weeks ago.
Hello,

I would like to know what are the limits to the implementation of a really strict SecurityManager, especially concerning reflection and threads, that would allow to use all of Scala features (not all libraries - actors will suffer, but at least Scala base language and collections).

For example, it is said that Structural typing use reflection. Does the standard library use that ? Is there a list of all stop using it ? On the user side, is there a way to only allow reflection for structural typing (I don't see how, perhaps someone has an idea) ?

Is there other language features that use reflection ? Pattern matching, perhaps (I don't think so) ?


Thanks,
-- 
Francois ARMAND
http://fanf42.blogspot.com
http://www.normation.com

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland