From: "Yajima, Yoshiko" <YajimaY@panasonic-mcusa.com>
To: gcc@gnu.org
Subject: gcj + jakarta-tomcat-4
Date: Thu, 20 Feb 2003 16:50:00 -0000 [thread overview]
Message-ID: <B2C453D2AC45C349822E5A6DD6FE0BB63589FA@athletics.panasonic-mcusa.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 587 bytes --]
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?
[-- Attachment #1.2: Type: text/html, Size: 2113 bytes --]
[-- Attachment #2: GenerateVisitor.java --]
[-- Type: application/octet-stream, Size: 891 bytes --]
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);
}
}
next reply other threads:[~2003-02-20 16:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-20 16:50 Yajima, Yoshiko [this message]
2003-02-20 17:57 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B2C453D2AC45C349822E5A6DD6FE0BB63589FA@athletics.panasonic-mcusa.com \
--to=yajimay@panasonic-mcusa.com \
--cc=gcc@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).