You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2012/11/21 10:59:55 UTC
svn commit: r1412036 -
/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/ws/security/dom/message/EncryptionGCMTest.java
Author: coheigea
Date: Wed Nov 21 09:59:55 2012
New Revision: 1412036
URL: http://svn.apache.org/viewvc?rev=1412036&view=rev
Log:
Fixing DOM tests with IBM JDK 7
Modified:
webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/ws/security/dom/message/EncryptionGCMTest.java
Modified: webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/ws/security/dom/message/EncryptionGCMTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/ws/security/dom/message/EncryptionGCMTest.java?rev=1412036&r1=1412035&r2=1412036&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/ws/security/dom/message/EncryptionGCMTest.java (original)
+++ webservices/wss4j/trunk/ws-security-dom/src/test/java/org/apache/ws/security/dom/message/EncryptionGCMTest.java Wed Nov 21 09:59:55 2012
@@ -130,6 +130,15 @@ public class EncryptionGCMTest extends o
@org.junit.Test
public void testAES192GCM_RSAOAEP_SHA256_MGFSHA256() throws Exception {
+ //
+ // This test fails with the IBM JDK 7
+ //
+ if ("IBM Corporation".equals(System.getProperty("java.vendor"))
+ && System.getProperty("java.version") != null
+ && System.getProperty("java.version").startsWith("1.7")) {
+ return;
+ }
+
WSSecEncrypt builder = new WSSecEncrypt();
builder.setUserInfo("wss40");
builder.setKeyIdentifierType(WSConstants.BST_DIRECT_REFERENCE);