java/7738: cannot build jython from source

jsturm@one-point.com jsturm@one-point.com
Tue Aug 27 13:56:00 GMT 2002


>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:



More information about the Java-prs mailing list