- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Scala and SecurityManager - reflection
Tue, 2011-05-03, 10:58
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,
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