Return-Path: Delivered-To: apmail-jakarta-bcel-user-archive@www.apache.org Received: (qmail 20315 invoked from network); 17 May 2005 04:44:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 May 2005 04:44:49 -0000 Received: (qmail 17022 invoked by uid 500); 16 May 2005 18:49:59 -0000 Delivered-To: apmail-jakarta-bcel-user-archive@jakarta.apache.org Received: (qmail 16990 invoked by uid 500); 16 May 2005 18:49:57 -0000 Mailing-List: contact bcel-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "BCEL Users List" Reply-To: "BCEL Users List" Delivered-To: mailing list bcel-user@jakarta.apache.org Received: (qmail 16962 invoked by uid 99); 16 May 2005 18:49:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp05.web.de (HELO smtp05.web.de) (217.72.192.209) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 16 May 2005 11:49:55 -0700 Received: from [85.65.128.178] (helo=peter) by smtp05.web.de with esmtp (WEB.DE 4.105 #282) id 1DXke1-0006lg-00 for bcel-user@jakarta.apache.org; Mon, 16 May 2005 20:48:49 +0200 From: "BEEP_BEEP" To: Subject: Problem with bcel example Date: Mon, 16 May 2005 21:49:22 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcVaUFrytzuFXfIyQEGDIaFd0En4CQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-Id: Sender: beep_beep@web.de X-Sender: beep_beep@web.de X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi! I'm very new in BCEL. I'm trying to run examples from official manual in BCEL site, Here you may find source code I run in my example: http://jakarta.apache.org/bcel/manual.html This is simplest example showing how to create HelloWorld class file with functionality like this: import java.io.*; public class HelloWorld { public static void main(String[] argv) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String name = null; try{ System.out.print("Please enter your name> "); name = in.readLine(); }catch(IOException e) { return; } System.out.println("Hello, " + name); } } ***** I did exactly what proposed by this Manual. ***** Then I have generated HelloWorld.class and then executed it. Everything was fine! The code was running excellent!! But when I decompiled my HelloWorld.class by Jad I have source like this: import java.io.*; public class HelloWorld { public static void main(String argv[]) { BufferedReader in; in = new BufferedReader(new InputStreamReader(System.in)); Object obj = null; String name; System.out.print("Please enter your name> "); name = in.readLine(); break MISSING_BLOCK_LABEL_37; return; System.out.println("Hello, " + name); return; } public HelloWorld() { } } 1)Note! Try/catch block is absent!! 2)And " break MISSING_BLOCK_LABEL_37;" line appears. What does it mean? Please help me! I need also information how to use JustIce. I tried to use it coding like this: Verifier.main(new String[]{"C:\\work\\bcel-5.1\\ex\\HelloWorld.class"}); And this is result output: VERIFIED_REJECTED Repository.lookup() failed. FILE NOT FOUND? Pass 2: VERIFIED_NOTYET Not yet verified. Warnings: ***** Help me! Please! Thanks! Peter. --------------------------------------------------------------------- To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: bcel-user-help@jakarta.apache.org