classpath
[Top][All Lists]
Advanced

[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: 01 Aug 2003 08:39:33 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "David" == David P Grove <address@hidden> writes:

David> If you come up with a finer-grained fix for libgcj, let me know
David> -- I'm not that happy with what we are currently doing in Jikes
David> RVM.

I checked in a couple patches last night that fix this problem.
Basically we now call setAccessible() on the Method and Field objects.
We do this via AccessController.doPrivileged, to avoid pesky security
checks.

I think this should be correct for any VM; I'd like to recommend it as
a method to solve this sort of problem anywhere in Classpath.  It is
already used in at least one other place, ResourceBundle.

Classpath just has stubs for the important parts of AccessController.
I guess another VMsomething class is in order here.

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]