This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

java/7738: cannot build jython from source


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]