Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 97201 invoked from network); 5 Jan 2007 00:02:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2007 00:02:50 -0000 Received: (qmail 29147 invoked by uid 500); 5 Jan 2007 00:02:55 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 29058 invoked by uid 500); 5 Jan 2007 00:02:55 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 29047 invoked by uid 99); 5 Jan 2007 00:02:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 16:02:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 16:02:47 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 815007142DF for ; Thu, 4 Jan 2007 16:02:27 -0800 (PST) Message-ID: <27251297.1167955347526.JavaMail.jira@brutus> Date: Thu, 4 Jan 2007 16:02:27 -0800 (PST) From: =?utf-8?Q?J=C3=B6rg_Heinicke_=28JIRA=29?= To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-1865) Javaflow runtime error when cocoon is built and ran using java 1.5 In-Reply-To: <28593882.1150498350003.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-1865?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] J=C3=B6rg Heinicke updated COCOON-1865: ---------------------------------- Fix Version/s: (was: 2.1.10) Affects Version/s: (was: 2.1.10) 2.1.9 > Javaflow runtime error when cocoon is built and ran using java 1.5 > ------------------------------------------------------------------ > > Key: COCOON-1865 > URL: https://issues.apache.org/jira/browse/COCOON-1865 > Project: Cocoon > Issue Type: Bug > Components: Blocks: Java Flow > Affects Versions: 2.1.9 > Reporter: Antonio Gallardo > Assigned To: Cocoon Developers Team > > It seems to be an bcel issue, but it does not allow to use the javaflow b= lock with java 1.5. > The tested sample works in java 1.4:=20 > http://cocoon.zones.apache.org/demos/21branch/samples/blocks/javaflow/cal= culator.do > Steps to reproduce: > 1. Compile cocoon using java 1.5.0_07: ./build.sh > 2. Run the cocoon: ./cocoon.sh > 3. Open: http://localhost:8888/samples/blocks/javaflow/calculator.do > The following error shows up: > org.apache.bcel.verifier.exc.StructuralCodeConstraintException: Instructi= on LDC_W constraint violated: Referenced constant should be a CONSTANT_Inte= ger, a CONSTANT_Float or a CONSTANT_String, but is 'CONSTANT_Class[7](name_= index =3D 86)'. > InstructionHandle: 12: ldc_w[19](2) 4 > Execution Frame: > Local Variables: > 0: org.apache.cocoon.samples.flow.java.PersistenceFlow > 1: java.util.ArrayList > 2: > 3: > OperandStack: > Slots used: 2 MaxStack: 5. > (Size: 1) > (Size: 1) > Execution flow: > 0: new 29 [InstructionContext] > 3: dup [InstructionContext] > 4: invokespecial 30 [InstructionContext] > 7: astore_1 [InstructionContext] > 8: new 31 [InstructionContext] > 11: dup [InstructionContext] > 12: ldc_w 4 [InstructionContext] --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira