This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
java/7738: cannot build jython from source
- From: jsturm at one-point dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 27 Aug 2002 20:51:54 -0000
- Subject: java/7738: cannot build jython from source
- Reply-to: jsturm at one-point dot com
>Number: 7738
>Category: java
>Synopsis: cannot build jython from source
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 27 13:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Jeff Sturm
>Release: 3.3 20020826 (experimental)
>Organization:
>Environment:
>Description:
Building jython from the rhug distribution fails because assert is now a keyword, and jython sources use "assert" for identifiers.
Note this is a regression from previous releases.
>How-To-Repeat:
With a recent gcj, checkout/build rhug.
>Fix:
Tom Tromey suggests:
* Change jython. Long term this is best.
* Change gcj to have an option so that it doesn't recognize "assert"
as a keyword (the JDK javac has this). I think the code to do this
would be pretty small, just a hack in lex.c (plus the command-line
recognition and of course the documentation).
>Release-Note:
>Audit-Trail:
>Unformatted: