Patch: embedded window extension

Michael Koch konqueror@gmx.de
Fri Jul 23 14:15:00 GMT 2004


Am Samstag, 17. Juli 2004 17:25 schrieb Eric Blake:
> This patch seems a little too simple for me.  By default,
> reflection is supposed to follow the same accessibility rules the
> compiler would follow, meaning that the reflection should throw an
> IllegalAccessException unless you call setAccessible() on peerField
> to change the default.  And calling setAccessible requires a
> security check, so you will have to set up a PrivelegedAction so
> that your call will always succeed.  Did you just expose a bug in
> the reflection implementation?

Hmm, I used jamvm. Perhaps its not the best candidate to test this 
code.

I wrote now the attached patch for this problem. Can you please review 
it ? It makes jamvm hang but I'm not sure where the problem is 
currently.


Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: embedded.diff
Type: text/x-diff
Size: 1701 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040723/109fbe34/attachment.bin>


More information about the Java-patches mailing list