Return-Path: Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: (qmail 97273 invoked from network); 8 Mar 2009 16:58:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2009 16:58:19 -0000 Received: (qmail 29029 invoked by uid 500); 8 Mar 2009 16:58:19 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 28991 invoked by uid 500); 8 Mar 2009 16:58:19 -0000 Mailing-List: contact commits-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list commits@buildr.apache.org Received: (qmail 28971 invoked by uid 500); 8 Mar 2009 16:58:19 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 28965 invoked by uid 99); 8 Mar 2009 16:58:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2009 09:58:19 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2009 16:58:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 43A57234C495 for ; Sun, 8 Mar 2009 09:57:56 -0700 (PDT) Message-ID: <125304330.1236531476275.JavaMail.jira@brutus> Date: Sun, 8 Mar 2009 09:57:56 -0700 (PDT) From: "Alex Boisvert (JIRA)" To: buildr-commits@incubator.apache.org Subject: [jira] Resolved: (BUILDR-210) ScalaCheck Version Broken in Scala 2.7.2 In-Reply-To: <72089278.1226472704656.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BUILDR-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Boisvert resolved BUILDR-210. ---------------------------------- Resolution: Fixed Libraries have now been upgraded as part of BUILDR-260 * Change: BUILDR-260: Upgrade to Scala 2.7.3 compatible dependencies: ScalaSpecs 1.4.3, ScalaCheck 1.5 and ScalaTest 0.9.5 > ScalaCheck Version Broken in Scala 2.7.2 > ---------------------------------------- > > Key: BUILDR-210 > URL: https://issues.apache.org/jira/browse/BUILDR-210 > Project: Buildr > Issue Type: Bug > Components: Test frameworks > Affects Versions: 1.3.3 > Reporter: Daniel Spiewak > Priority: Blocker > Fix For: 1.3.4 > > > With the release of Scala 2.7.2, the default ScalaCheck version (1.3) is no longer sufficient. This version of ScalaCheck depends upon a method which no longer exists within the Scala standard library. For the sake of Google, this is the precise error message: > Exception "java.lang.NoSuchMethodError: scala.Stream$cons$.apply(Ljava/lang/Object;Lscala/Function0;)Ljava/lang/Object;" raised on argument generation. > The solution is to use ScalaCheck 1.4 instead of 1.3. Just to make things even more fun, Specs 1.3.1 does not work with ScalaCheck 1.4 (only with 1.3 and earlier). This problem is fixed in the (still forthcoming) 1.3.2 release, but until then, there will apparently be no running tests under Scala 2.7.2 using Specs and ScalaCheck in conjunction. Sucks to be me... > This is an absolute killer for me. I use ScalaCheck quite extensively, which means that I now have 300+ tests which now crash where before they ran fine. If we can't get a release which either increments the hard-coded version or provides a configurable option, could we at least get a patch which can be applied manually to do the same? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.