You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ralph Jocham <rj...@yahoo.com> on 2002/08/16 20:17:39 UTC

Using Jikes produces strange compilations errors

Hi,
I just started to use Jikes as compiler. It shows
weird errors that certain Swing class don't have
certain methods or ctors.

ie.
[javac] L:/java/Src/com/.../OffsetPanel.java:62:33
:62:58: Error: No match was found for constructor
"JButton(javax.swing.AbstractAction)".

Also it crashes at the end.
javac] Assertion failed: ! method_shadow ->
method_symbol -> ACC_PROTECTED(), file ../../jikes-
1.16/src/expr.cpp, line 1029

Versions:
Ant 1.5
Jikes 1.16

Does anyone have the same problems? What is the
remedy?

Thanks,
Ralph

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Using Jikes produces strange compilations errors

Posted by Chris Brown <br...@reflexe.fr>.
Hi,

Jikes 1.16 has lots of important bugs, such as incorrectly compiling loops
containing "continue" statements, which often leads to infinite loops.  I
use older versions of Jikes, as 1.16 is too unreliable.

Try compiling with Sun's "javac", if it works, then your problem's with
Jikes.

- Chris B.

----- Original Message -----
From: "Ralph Jocham" <rj...@yahoo.com>
To: <an...@jakarta.apache.org>
Sent: Friday, August 16, 2002 8:17 PM
Subject: Using Jikes produces strange compilations errors


> Hi,
> I just started to use Jikes as compiler. It shows
> weird errors that certain Swing class don't have
> certain methods or ctors.
>
> ie.
> [javac] L:/java/Src/com/.../OffsetPanel.java:62:33
> :62:58: Error: No match was found for constructor
> "JButton(javax.swing.AbstractAction)".
>
> Also it crashes at the end.
> javac] Assertion failed: ! method_shadow ->
> method_symbol -> ACC_PROTECTED(), file ../../jikes-
> 1.16/src/expr.cpp, line 1029
>
> Versions:
> Ant 1.5
> Jikes 1.16
>
> Does anyone have the same problems? What is the
> remedy?
>
> Thanks,
> Ralph
>
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>