The ideal solution would be to use inheritance or delegation to
invoke the "real" event dispatch code in the JRE, which is not
possible given the permissions on the classes, methods and fields
involved. This is a cool hack to work around that limitation, but
using it requires vigilant maintenance.
If reflection is allowed, access permissions pretty much are a
guideline, not a obstacle. I believe that almost needs to be the case
for serialization to function correctly, so it probably won't be
changed in the future.
Although I'm not sure if the source usage license restriction would
apply. It probably is definitely contrary to the intentions of the
original author which you might not be comfortable with circumventing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden