You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/12/04 15:18:43 UTC
[jira] Updated: (HARMONY-4380) [buildtest][jvms] 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:all-tabpanel ]
Gregory Shimansky updated HARMONY-4380:
---------------------------------------
Component/s: (was: DRLVM)
build - test - ci
Summary: [buildtest][jvms] VM does not reject a class in which class_index in EnclosingMethod attribute refers to improper class (was: [drlvm][classloader] VM does not reject a class in which class_index in EnclosingMethod attribute refers to improper class)
Changed bug to tests as the tests doesn't work on RI and is likely to be invalid.
> [buildtest][jvms] 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: build - test - ci
> 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.