Return-Path: X-Original-To: apmail-ant-dev-archive@www.apache.org Delivered-To: apmail-ant-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D22B67E8 for ; Thu, 9 Jun 2011 13:05:14 +0000 (UTC) Received: (qmail 90884 invoked by uid 500); 9 Jun 2011 13:05:13 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 90844 invoked by uid 500); 9 Jun 2011 13:05:13 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 90836 invoked by uid 99); 9 Jun 2011 13:05:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 13:05:13 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 13:05:04 +0000 Received: from localhost (localhost [127.0.0.1]) by colossus.hpl.hp.com (Postfix) with ESMTP id 9A46A1BA945 for ; Thu, 9 Jun 2011 14:04:43 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at hpl.hp.com Received: from colossus.hpl.hp.com ([127.0.0.1]) by localhost (colossus.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XDH9YY4bACkL for ; Thu, 9 Jun 2011 14:04:43 +0100 (BST) Received: from 0-imap-br1.hpl.hp.com (0-imap-br1.hpl.hp.com [16.25.144.60]) by colossus.hpl.hp.com (Postfix) with ESMTP id 1AC311BA926 for ; Thu, 9 Jun 2011 14:04:42 +0100 (BST) MailScanner-NULL-Check: 1308229469.30987@PP+kfSe2izTO04gBGUe5Rw Received: from [16.25.175.86] (wildhaus.hpl.hp.com [16.25.175.86]) by 0-imap-br1.hpl.hp.com (8.14.1/8.13.4) with ESMTP id p59D4SWB008941 for ; Thu, 9 Jun 2011 14:04:28 +0100 (BST) Message-ID: <4DF0C4DC.6020806@apache.org> Date: Thu, 09 Jun 2011 14:04:28 +0100 From: Steve Loughran User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110419 Red Hat/3.1.10-1.el6_0 Thunderbird/3.1.10 MIME-Version: 1.0 To: Ant Developers List Subject: Re: junit4 test runners References: <4DF0A741.5030008@apache.org> In-Reply-To: <4DF0A741.5030008@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: p59D4SWB008941 X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org On 06/09/2011 11:58 AM, Steve Loughran wrote: > I'm doing something non-ant related, but I'm wondering if anyone has > seen this problem here, as it's the closest to what I'm trying to do > > 1. I have some code that is a test runner for Junit3.8.x classes, it works. > 2. I am trying to flip the ivy version to junit 4.8.2 something. > 3. I rerun my test runner tests > 4. I get sealing violations on dependent JARs from my own upstream projects > > Neither my JARs or JUnit4 is sealed, yet as soon as say "JUnit 4", > things stop working. > > Anyone else seen something like this? Or am I deep in a classloader hell > of my own making? -turns out one file in a package was sealed. What's interesting is that this triggered a problem only in junit4 builds, which makes me thing that the classloading was different. Perhaps a sealing violation only triggers if the first class is loaded from a sealed JAR, and rest from unsealed ones. Odd though -reverting to junit3 did fix it, even though ivy set the build up both times. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org