Emanuele,

The behavior you are seeing is actually not a bug in App Engine but rather 
an unexpected behavior in Java itself. If you try the experiment in Java 
code running outside of App Engine you will see the same behavior.

The source code for java.lang.reflect.AccessibleObject explains the 
situation:

    // Indicates whether language-level access checks are overridden    // by 
this object. Initializes to "false". This field is used by    // Field, Method, 
and Constructor.    boolean override;
     public boolean isAccessible() {

        return override;       }

The name "isAccessible" is misleading. The method actually returns whether 
accessibility has been overridden to true.

-Mitch

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/A7oWAKAhjxIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to