Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C4007200B88 for ; Thu, 22 Sep 2016 13:15:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C29C5160AD0; Thu, 22 Sep 2016 11:15:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0D4B7160AAD for ; Thu, 22 Sep 2016 13:15:08 +0200 (CEST) Received: (qmail 45246 invoked by uid 500); 22 Sep 2016 11:15:08 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 45236 invoked by uid 99); 22 Sep 2016 11:15:08 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2016 11:15:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 16CE5E008F; Thu, 22 Sep 2016 11:15:08 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: coheigea@apache.org To: commits@cxf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Fixing failing test on JDK 7 with limited security Date: Thu, 22 Sep 2016 11:15:08 +0000 (UTC) archived-at: Thu, 22 Sep 2016 11:15:09 -0000 Repository: cxf Updated Branches: refs/heads/3.1.x-fixes a2f2eb7e2 -> 389ccba09 Fixing failing test on JDK 7 with limited security Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/389ccba0 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/389ccba0 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/389ccba0 Branch: refs/heads/3.1.x-fixes Commit: 389ccba093d12befd504c17042b2961022e6367f Parents: a2f2eb7 Author: Colm O hEigeartaigh Authored: Thu Sep 22 12:14:21 2016 +0100 Committer: Colm O hEigeartaigh Committed: Thu Sep 22 12:14:21 2016 +0100 ---------------------------------------------------------------------- .../src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/389ccba0/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java ---------------------------------------------------------------------- diff --git a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java index d20179f..d6ba498 100644 --- a/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java +++ b/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java @@ -104,6 +104,10 @@ public class GCMTest extends AbstractBusClientServerTestBase { @org.junit.Test public void testAESGCM128() throws Exception { + if (!unrestrictedPoliciesInstalled) { + return; + } + // // This test fails with the IBM JDK 7 // IBM JDK 7 appears to require a GCMParameter class to be used, which