Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4893

Allow Java 5 language constructs in build code

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

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.7.1.1
    • 10.7.1.1
    • Build tools
    • None

    Description

      We already allow the use of methods and classes that only exist in Java 5 and higher in code that only runs at build time, but java/build/org/apache/derbyBuild/build.xml specifies source and target level "1.4", so we cannot use the new syntax introduced in Java 5. I think we should also change source and target level to allow the new (well, not so new anymore...) language constructs.

      (I noticed this when I started writing code to perform sanity checking of the message files at build time (DERBY-4796) and couldn't use the simpler for loop syntax.)

      Attachments

        Issue Links

        Activity

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

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment