> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron
> M. Renn
> Subject: Re: FileDescriptor Support
>
>
> Brian Jones wrote:
> > I was attempting to determine what kind of security/access checks go
> > on with JNI and I couldn't find it in the JNI information from Sun so
> > far. Seems like you could call the static native method anytime from
> > my reading if getMethodID succeeded, but I dunno.
>
> That's a good idea. I thought that under JNI, access restrictions on
> classes were enforced. But I think that the debugging interface could
> probably get around that if they are. If someone can call native code,
> there isn't much reason to think they shouldn't be able to bypass any
> security restrictions.
>
Yeah ... native code is going to be the way to go. You can call any
constructor or method on the class that you want to. JNI bypasses language
access checks.
--John