Bug 724594 (BRMS-514) - JARs may contain multiple versions of the same class.
Summary: JARs may contain multiple versions of the same class.
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-514
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: Build Process
Version: future
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: ---
: BRMS 5.2.0.GA
Assignee: Douglas Palmer
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-16 11:33 UTC by Lukáš Petrovický
Modified: 2011-10-05 05:30 UTC (History)
1 user (show)

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.
Clone Of:
Environment:
Last Closed: 2011-05-25 16:18:39 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-514 0 None Closed JARs may contain multiple versions of the same class. 2012-01-23 10:00:23 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.