* gcj + jakarta-tomcat-4
@ 2003-02-20 16:50 Yajima, Yoshiko
2003-02-20 17:57 ` Tom Tromey
0 siblings, 1 reply; 2+ messages in thread
From: Yajima, Yoshiko @ 2003-02-20 16:50 UTC (permalink / raw)
To: gcc
[-- 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);
}
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcj + jakarta-tomcat-4
2003-02-20 16:50 gcj + jakarta-tomcat-4 Yajima, Yoshiko
@ 2003-02-20 17:57 ` Tom Tromey
0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2003-02-20 17:57 UTC (permalink / raw)
To: Yajima, Yoshiko; +Cc: GCC Hackers
>>>>> ">" == Yajima, Yoshiko <YajimaY@panasonic-mcusa.com> writes:
>> 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"
I'd suggest reporting this to the rhug list.
It may be a rhug build bug.
Tom
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-20 17:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 16:50 gcj + jakarta-tomcat-4 Yajima, Yoshiko
2003-02-20 17:57 ` Tom Tromey
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).