Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-324

Cannot compile Velocity with JDK 1.5 due to use of the newly-reserved word "enum"

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.5
    • Build
    • None
    • Operating System: All
      Platform: All
    • 32416

    Description

      Currently, Velocity doesn't compile with Java5 because it uses enum in the
      following classes:
      o.a.v.runtime.parser.Parser
      o.a.v.texen.Generator
      o.a.v.util.EnumerationIterator

      To avoid future issues, I think the source should be changed.

        1. Of course, you might have to do something with javacc for Parser...

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dlr Daniel Rall
            shinobu Shinobu Kawai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment