You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Pervov (JIRA)" <ji...@apache.org> on 2007/07/13 13:33:07 UTC
[jira] Commented: (HARMONY-4380) [drlvm][classloader] VM does not
reject a class in which class_index in EnclosingMethod attribute refers to
improper class
[ https://issues.apache.org/jira/browse/HARMONY-4380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512438 ]
Pavel Pervov commented on HARMONY-4380:
---------------------------------------
If the test fails on RI I would treat this one as invalid test and suggest to close the JIRA as WONTFIX.
> [drlvm][classloader] VM does not reject a class in which class_index in EnclosingMethod attribute refers to improper class
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-4380
> URL: https://issues.apache.org/jira/browse/HARMONY-4380
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Vera Petrashkova
> Priority: Minor
>
> The changes to the specification of J2SE VM edition defines EnclosingMethod attribute whith the following structute:
> EnclosingMethod_attribute {
> u2 attribute_name_index;
> u4 attribute_length;
> u2 class_index
> u2 method_index;
> }
> and says that
> The value of the class_index item must be a valid index into the
> constant_pool table. The constant_pool entry at that index
> must be a CONSTANT_Class_info structure representing
> the innermost class that encloses the declaration of the current
> class.
> But VM does not reject class file when CONSTANT_Class_index refers to "this" class
> in EnclosingMethod attribute instead of enclosing class
> To reproduce this bug run VTS test
> vm/jvms/classFile/attributes/enclosingMethod/enclosingMethod08/enclosingMethod08.xml
> which fails.
> This test also fails on RI.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.