Bug 1266832 - CDI package split into remote and embedded
Summary: CDI package split into remote and embedded
Keywords:
Status: CLOSED DUPLICATE of bug 1278449
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: 6.6.0
Assignee: Sebastian Łaskawiec
QA Contact: Martin Gencur
URL:
Whiteboard:
: 1268894 (view as bug list)
Depends On:
Blocks: 1264840 1278449
TreeView+ depends on / blocked
 
Reported: 2015-09-28 06:57 UTC by Sebastian Łaskawiec
Modified: 2015-11-09 13:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1278449 (view as bug list)
Environment:
Last Closed: 2015-11-09 13:13:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-5838 0 Major Resolved Cleanup uberjar packaging 2016-01-12 14:05:00 UTC
Red Hat Issue Tracker ISPN-5900 0 Major New Cleanup uberjar packaging (ideal solution) 2016-01-12 14:05:00 UTC

Description Sebastian Łaskawiec 2015-09-28 06:57:52 UTC
Description of problem:
Connected issue: https://bugzilla.redhat.com/show_bug.cgi?id=1264840

Currently CDI package contains references to both Remote and Embedded JDG classes. This causes many problems like BZ1264840. The best way to deal with it is to split Uber Jar CDI package into two pieces - remote and embedded.

Comment 2 JBoss JIRA Server 2015-10-23 05:40:45 UTC
Sebastian Łaskawiec <slaskawi> updated the status of jira ISPN-5838 to Coding In Progress

Comment 3 Sebastian Łaskawiec 2015-10-30 13:59:56 UTC
Backward INcompatible (but ideal) tracked here: https://issues.jboss.org/browse/ISPN-5900

Comment 5 Tristan Tarrant 2015-11-04 11:21:11 UTC
*** Bug 1268894 has been marked as a duplicate of this bug. ***

Comment 8 Martin Gencur 2015-11-05 13:55:53 UTC
As Sebastian said, this cannot be fixed without breaking backwards compatibility.

Comment 9 Sebastian Łaskawiec 2015-11-05 14:02:05 UTC
Just an extended version why we can not do it:
The implementation would require moving classes from org.infinispan.cdi package into org.infinispan.cdi.remote and org.infinispan.cdi.embedded which would break client's code. Therefore we can not do it in minor release.

Comment 10 Sebastian Łaskawiec 2015-11-05 14:17:05 UTC
In JDG 6 series we managed to split the extension into two parts - Embedded and Remote. However we decided to leave java packaging as it was before (in org.infinispan.cdi). This fixes unnecessary dependencies for those jars and gives our client a choice - what kind of functionality they need.

Proper solution for JDG is tracked by https://bugzilla.redhat.com/show_bug.cgi?id=1278449

Comment 11 Sebastian Łaskawiec 2015-11-09 13:13:47 UTC

*** This bug has been marked as a duplicate of bug 1278449 ***


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