Bug 724594 (BRMS-514)

Summary: JARs may contain multiple versions of the same class.
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Lukáš Petrovický <lpetrovi>
Component: Build ProcessAssignee: Douglas Palmer <dpalmer>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: urgent    
Version: futureCC: lcarlon
Target Milestone: ---   
Target Release: BRMS 5.2.0.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-514
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Multiple versions of the same class were present in the Maven Bulk Importer JAR. The additional instances of the classes have been removed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-25 16:18:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lukáš Petrovický 2010-12-16 11:33:17 UTC
securitylevel_name: Public

While tracking down a (alleged) bug in dist-diff, we found out that the Maven Bulk Importer JAR file in GA has (at least) one class duplicated. This class is org/jboss/util/xml/catalog/CatalogManager.class and the two versions of the class have not only different timestamp, they are also different in binary.

While this has caused no problems for us (other than the weird output of dist-diff) and had no impact in testing, it is serious nonetheless and should be looked at. Also, since BRMS and SOA are the results of the very same build system, the SOA source could be subject to the same problem as well.

Comment 1 lcarlon 2011-08-19 03:53:51 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Doc as a known issue

Comment 2 lcarlon 2011-08-19 04:48:46 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Doc as a known issue+Needs release note

Comment 3 lcarlon 2011-08-23 04:24:46 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Needs release note+Multiple versions of the same class were in the Maven Bulk Importer JAR. The additional instances of the classes were removed.

Comment 4 lcarlon 2011-08-23 04:25:33 UTC
Please confirm the fix documented in the technical notes field is accurate.

Thanks
Lee

Comment 5 lcarlon 2011-08-23 04:25:33 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1,3 @@
+https://bugzilla.redhat.com/show_bug.cgi?id=724594
+
 Multiple versions of the same class were in the Maven Bulk Importer JAR. The additional instances of the classes were removed.

Comment 6 lcarlon 2011-09-14 04:31:00 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,3 +1 @@
-https://bugzilla.redhat.com/show_bug.cgi?id=724594
-
 Multiple versions of the same class were in the Maven Bulk Importer JAR. The additional instances of the classes were removed.

Comment 7 lcarlon 2011-10-05 05:30:09 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Multiple versions of the same class were in the Maven Bulk Importer JAR. The additional instances of the classes were removed.+Multiple versions of the same class were present in the Maven Bulk Importer JAR. The additional instances of the classes have been removed.