From a6ec88e1df13212f7e3bf0b6f3c2463429264187 Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 7 Jun 2012 13:13:31 +0000 Subject: TUSCANY-4058: Apply update from Andrew Potter to support IBM JDK git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1347599 13f79535-47bb-0310-9956-ffa450edef68 --- .../legal-checks/src/test/java/itest/JarsInLICENSETestCase.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sca-java-2.x/trunk/testing/itest') diff --git a/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java b/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java index 865eec3636..49d6486aa2 100644 --- a/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java +++ b/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java @@ -103,6 +103,8 @@ public class JarsInLICENSETestCase { if (!licenseText.contains(jar)) { if (jar.startsWith("tuscany-") || jar.startsWith("sample-") || jar.startsWith("test-") || jar.startsWith("itest-")) { // ignore tuscany jars as they're not mentioned in the LICENSE file + } else if (System.getProperty("java.vendor").equals("IBM Corporation") && (jar.equals("bcel-5.2.jar") || jar.equals("jakarta-regexp-1.4.jar"))) { + // ignore IBM JDK specific jars. } else { badJars.add(jar); } -- cgit v1.2.3