[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about serialization
From: |
Tom Tromey |
Subject: |
Re: question about serialization |
Date: |
04 Aug 2003 20:09:30 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Bryce" == Bryce McKinlay <address@hidden> writes:
Bryce> But I presume that for normal applications where security is
Bryce> not required (ie System.getSecurityManager()), such checks are
Bryce> avoided?
Yes, the security manager itself walks the stack in this case, so if
there is no security manager...
There are also situations where the code unconditionally must find the
caller and use that to do access checks, e.g. in Method.
Also there are cases where you must find the caller's class loader,
say in order to implement Class.forName.
In libgcj these latter cases are also implemented by stack crawling.
Tom
- Re: question about serialization, David P Grove, 2003/08/03
- Re: question about serialization, Tom Tromey, 2003/08/02
- Re: question about serialization, Bryce McKinlay, 2003/08/04
- Re: question about serialization, Chris Gray, 2003/08/04
- Re: question about serialization, Bryce McKinlay, 2003/08/04
- Re: question about serialization, Chris Gray, 2003/08/04
- Re: question about serialization, Bryce McKinlay, 2003/08/04
- Re: question about serialization,
Tom Tromey <=
- Re: question about serialization, Ingo Prötel, 2003/08/05
- Re: question about serialization, Tom Tromey, 2003/08/05
- Re: question about serialization, Mark Wielaard, 2003/08/05
- Re: question about serialization, Chris Gray, 2003/08/05