Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
Java-SCA-2.x
-
None
-
None
-
IBM JDK
-
Patch Available
Description
Two jars are included with the IBM JDK that are not included in the license, causing a build failure. The offending jars are bcel-5.2.jar and jakarta-regexp-1.4.jar. To fix, add two lines to the if statement in:
trunk\testing\itest\distribution\legal-checks\src\test\java\itest\JarsInLICENSETestCase.java
Starting at line 104, the if block should be as follows:
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); }