From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18382 invoked by alias); 20 Feb 2003 16:21:48 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 18360 invoked from network); 20 Feb 2003 16:21:47 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by 172.16.49.205 with SMTP; 20 Feb 2003 16:21:47 -0000 Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 18ltSD-0008CP-00 for gcc@gnu.org; Thu, 20 Feb 2003 11:21:45 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ltPr-0007Pe-00 for gcc@gnu.org; Thu, 20 Feb 2003 11:19:19 -0500 Received: from [209.16.255.19] (helo=athletics.panasonic-mcusa.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ltPi-0007LZ-00 for gcc@gnu.org; Thu, 20 Feb 2003 11:19:10 -0500 Received: by athletics.panasonic-mcusa.com with Internet Mail Service (5.5.2656.59) id <1P91VT1B>; Thu, 20 Feb 2003 11:17:45 -0500 Message-ID: From: "Yajima, Yoshiko" To: gcc@gnu.org Subject: gcj + jakarta-tomcat-4 Date: Thu, 20 Feb 2003 16:50:00 -0000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C2D8FB.99864660" X-Spam-Status: No, hits=-0.5 required=5.0 tests=EXCHANGE_SERVER,MIME_NULL_BLOCK,SPAM_PHRASE_05_08 version=2.41 X-Spam-Level: X-SW-Source: 2003-02/txt/msg01371.txt.bz2 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C2D8FB.99864660 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2D8FB.99864660" ------_=_NextPart_001_01C2D8FB.99864660 Content-Type: text/plain; charset="iso-8859-1" Content-length: 587 I'm trying to make tomcat-4 work with gcj. I installed gcj , rhug , special tools. I got gcc 3.3, anyway that is supposed to work with tomcat. I got an error when doing "make" Can't find constructor in Generator.java In my program, I got an error "new ParamVisitor(sep)" I made similar but small program. I got the same error. Then, I compiled the program with javac and it was OK. Do you think that gcj still has some problems? or didn't I succeed in configuration? I don't know if this e-mail is appropriate for my question. Would you please give me some advice? ------_=_NextPart_001_01C2D8FB.99864660 Content-Type: text/html; charset="iso-8859-1" Content-length: 2113
I'm trying to make tomcat-4 work with gcj.      
I installed gcj , rhug , special tools. I got gcc 3.3, anyway that is supposed to work with tomcat.
I got an error when doing "make"
 
Can't find constructor in Generator.java
In my program, I got an error "new ParamVisitor(sep)"
 
I made similar but small program. I got the same error.
Then, I compiled the program with javac and it was OK.
 
Do you think that gcj still has some problems? or didn't I succeed in configuration?
 
I don't know if this e-mail is appropriate for my question.
 
Would you please give me some advice?
 
 
------_=_NextPart_001_01C2D8FB.99864660-- ------_=_NextPart_000_01C2D8FB.99864660 Content-Type: application/octet-stream; name="GenerateVisitor.java" Content-Disposition: attachment; filename="GenerateVisitor.java" Content-length: 891 class GenerateVisitor { public GenerateVisitor (String s1) { System.out.print("GenerateVisitor constructor"); } private void printParams (int a, int b) { class ParamVisitor { String s2; ParamVisitor(String s2) { this.s2 = s2; System.out.print("ParamVisitorA constructor"); } public void visit(int c) { System.out.print("visit method"); } } String sep; sep = ""; new ParamVisitor(sep); } public void visit (int d, int e) { class ParamVisitor { private boolean ie; ParamVisitor(boolean ie) { this.ie = ie; System.out.print("ParamVisitorB constructor"); } public void visit(int f) { System.out.print("visit method"); } } new ParamVisitor(false); } } ------_=_NextPart_000_01C2D8FB.99864660--