Bug 49259

Summary: Fix CPL License issues with EnclosingMethod.java and LocalVariableTypeTable.java
Product: BCEL - Now in Jira Reporter: kevan <kevan.miller>
Component: MainAssignee: issues <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 5.3   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Patch to fix licensing issues
For clarity, attaching the entire source file
For clarity, attaching the entire source file

Description kevan 2010-05-06 11:16:26 UTC
Created attachment 25406 [details]
Patch to fix licensing issues

The following BCEL source files are CPL licensed:

src/main/java/org/apache/bcel/classfile/EnclosingMethod.java
src/main/java/org/apache/bcel/classfile/LocalVariableTypeTable.java

This is a problem since CPL is classified as a category B license by the ASF.

These files are originally from the Eclipse AspectJ project. 

http://dev.eclipse.org/viewcvs/index.cgi/org.aspectj/modules/bcel-builder/src/org/aspectj/apache/bcel/classfile/EnclosingMethod.java?revision=1.1&root=Tools_Project&view=markup

http://dev.eclipse.org/viewcvs/index.cgi/org.aspectj/modules/bcel-builder/src/org/aspectj/apache/bcel/classfile/LocalVariableTypeTable.java?revision=1.1&root=Tools_Project&view=markup

IBM holds the Copyright of the 1.1 version of these files. As an employee of IBM, I am relicensing these files under AL2. 

I've updated the files with the Apache source license header and updated the package names for the BCEL project. I have not made any other changes to the source.

I'm able to build BCEL with these updated files, but have not performed any further testing.
Comment 1 kevan 2010-05-06 11:18:57 UTC
Created attachment 25407 [details]
For clarity, attaching the entire source file
Comment 2 kevan 2010-05-06 11:19:52 UTC
Created attachment 25408 [details]
For clarity, attaching the entire source file
Comment 3 Dave Brosius 2010-05-06 12:45:54 UTC
patch applied, thanks