Vladimir Gorr wrote:
On 8/28/06, Alexey Varlamov <[EMAIL PROTECTED]> wrote:
There is a test[1] in classlib, which verifies that reflection access
from enclosing class to a private member of a nested class results in
IllegalAccessException.
However, this is against the language specification (para 6.6.1 of the
JLS3):
[SNIP]
I found out, this is an acknowledged bug of RI [2], and is ranked TOP#6.
The good news, however, that DRLVM is free of this defect. OTOH, it
surely cannot pass the aforementioned test of the classlib.
So the question: should we fix the test and will IBM VME address this
issue? What is appropriate JIRA category for it?
I suppose this test should be modified after IBM VME will behave in
accordance with the specifications if any.
I agree, if IBM will fix it, if they have the problem.
Certainly, if there are no any objections. IMO we should avoid any bugs
known for the RI, shouldn't we?
I think that we should fix this, since it's a known bug of the RI that
may be fixed...
I know that Alexey setup a JIRA for it, so we can revisit...
geir
Thanks,
Vladimir.
[1]<testcase classname="tests.api.java.lang.reflect.FieldTest"
name="test_getLjava_lang_Object"/>
[2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4071957
--
Alexey Varlamov
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]