Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA21E17D11 for ; Tue, 10 Mar 2015 08:28:43 +0000 (UTC) Received: (qmail 5403 invoked by uid 500); 10 Mar 2015 08:28:38 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 5313 invoked by uid 500); 10 Mar 2015 08:28:38 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 5301 invoked by uid 99); 10 Mar 2015 08:28:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 08:28:38 +0000 Date: Tue, 10 Mar 2015 08:28:38 +0000 (UTC) From: =?utf-8?Q?J=C3=A9r=C3=B4me_Leroux_=28JIRA=29?= To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BCEL-183) Implement Java 7 field/method name validation rules MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BCEL-183?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D143545= 34#comment-14354534 ]=20 J=C3=A9r=C3=B4me Leroux commented on BCEL-183: ------------------------------------ As mentionned before, the patch seems to be valid for the classfiles from t= he version 51 only. Currently the verifier does not rely on the classfile version to adapt the = verification. The verifier is compliant with the second edition of the _Jav= a Virtual Machine specification_ but does not manage all the new features a= dded by the _Java SE 7_ edition. Actually, I don't know if the verifier should rely on the version of the cl= assfile. The version of the targeted virtual machine may be specified with = an option. > Implement Java 7 field/method name validation rules > --------------------------------------------------- > > Key: BCEL-183 > URL: https://issues.apache.org/jira/browse/BCEL-183 > Project: Commons BCEL > Issue Type: Improvement > Components: Verifier > Affects Versions: 5.2 > Reporter: J=C3=A9r=C3=B4me Leroux > Fix For: 6.0 > > Attachments: BCEL-183-2.patch, BCEL-183-2.zip, BCEL-183-src.zip, = BCEL-183.patch, BCEL-183.zip > > Original Estimate: 2h > Remaining Estimate: 2h > > The JustIce bytecode verifier checks the validity of the field name and t= he variable name considering the java langage specification.=20 > This check is not specified by the bytecode verifier specification. > This may lead to bytecode verification errors in pass2 on valid classfile= s. -- This message was sent by Atlassian JIRA (v6.3.4#6332)