Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A3A89200B47 for ; Sun, 3 Jul 2016 04:41:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 97A0C160A5F; Sun, 3 Jul 2016 02:41:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DF325160A5D for ; Sun, 3 Jul 2016 04:41:22 +0200 (CEST) Received: (qmail 36861 invoked by uid 500); 3 Jul 2016 02:41:21 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 36852 invoked by uid 99); 3 Jul 2016 02:41:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jul 2016 02:41:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 79BBBC7EEE for ; Sun, 3 Jul 2016 02:41:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.287 X-Spam-Level: X-Spam-Status: No, score=-0.287 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.287] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id FdxvDbPJPtQv for ; Sun, 3 Jul 2016 02:41:21 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C7CBB5F478 for ; Sun, 3 Jul 2016 02:41:20 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DF688E0016 for ; Sun, 3 Jul 2016 02:41:19 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 094153A06C1 for ; Sun, 3 Jul 2016 02:41:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1751107 - /commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java Date: Sun, 03 Jul 2016 02:41:18 -0000 To: commits@commons.apache.org From: dbrosius@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160703024119.094153A06C1@svn01-us-west.apache.org> archived-at: Sun, 03 Jul 2016 02:41:23 -0000 Author: dbrosius Date: Sun Jul 3 02:41:18 2016 New Revision: 1751107 URL: http://svn.apache.org/viewvc?rev=1751107&view=rev Log: Gracefully handle ecj's odd generation of LocalVariableTypeTable types, prefixed by \!, or \!+ or \!* Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java?rev=1751107&r1=1751106&r2=1751107&view=diff ============================================================================== --- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java (original) +++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java Sun Jul 3 02:41:18 2016 @@ -1083,6 +1083,10 @@ public abstract class Utility { return Const.T_BOOLEAN; case 'S': return Const.T_SHORT; + case '!': + case '+': + case '*': + return typeOfSignature(signature.substring(1)); default: throw new ClassFormatException("Invalid method signature: " + signature); }