Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3806

Sql.java contains assertion which is always false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6.5
    • 1.7-beta-2, 1.6.6
    • SQL processing
    • None

    Description

      Sql.java, line 2255 contains the following assertion, which is always false:

      assert (null != statement);
      

      This pretty much renders class Sql unusable if assertions are enabled, which for example is the case when running tests with Maven.

      Attachments

        Activity

          People

            pniederw Peter Niederwieser
            pniederw Peter Niederwieser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: