Stuart Ballard <[EMAIL PROTECTED]> writes:
> John Keiser wrote:
> >
> > (Oh, and Stuart ... saw your mail while I was writing this. Take note that
> > he's trying to call these methods from java.util, not java.lang, so we
> > simply cannot avoid security risks.)
>
> Yeah, I saw that. But I was under the impression that *native* code
> isn't subject to access control, and so you CAN call a package-private
> java.lang method from java.util native code. Have I misunderstood this?
> How can java enforce security checks on C code?
Stuart is right, that's why stuff in java.lang is going to able to
call native functions in java.io which are private.
Brian
--
|-------------------------------|Software Engineer
|Brian Jones |[EMAIL PROTECTED]
|[EMAIL PROTECTED] |http://www.nortel.net
|http://www.classpath.org/ |------------------------------