Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #37787 > unrolled thread
| Started by | Victor Porton <porton@narod.ru> |
|---|---|
| First post | 2017-12-10 02:48 +0200 |
| Last post | 2017-12-18 10:52 -0800 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.lang.java.programmer
Circular dependencies between packages? Victor Porton <porton@narod.ru> - 2017-12-10 02:48 +0200
Re: Circular dependencies between packages? Arne Vajhøj <arne@vajhoej.dk> - 2017-12-09 20:09 -0500
Re: Circular dependencies between packages? Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2017-12-12 00:04 +0200
Re: Circular dependencies between packages? Eric Douglas <e.d.programmer@gmail.com> - 2017-12-18 10:52 -0800
| From | Victor Porton <porton@narod.ru> |
|---|---|
| Date | 2017-12-10 02:48 +0200 |
| Subject | Circular dependencies between packages? |
| Message-ID | <p0i08r$pp3$1@gioia.aioe.org> |
Circular dependencies between packages are impossible in Java, aren't them? -- Victor Porton - http://portonvictor.org
[toc] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2017-12-09 20:09 -0500 |
| Message-ID | <p0i1fo$r89$1@gioia.aioe.org> |
| In reply to | #37787 |
On 12/9/2017 7:48 PM, Victor Porton wrote: > Circular dependencies between packages are impossible in Java, aren't them? You will need to build the two packages together (or so some real ugly stuff). But I would reconsider the design. Arne
[toc] | [prev] | [next] | [standalone]
| From | Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> |
|---|---|
| Date | 2017-12-12 00:04 +0200 |
| Message-ID | <m34lowrkeo.fsf@sonera.fi> |
| In reply to | #37791 |
Arne Vajhøj <arne@vajhoej.dk> writes: > On 12/9/2017 7:48 PM, Victor Porton wrote: >> Circular dependencies between packages are impossible in Java, aren't them? > You will need to build the two packages together (or so some real ugly > stuff). It could happen if a.jar depends on b.jar, and when you already have some version of both, you add something to b.jar that depends on a.jar. > But I would reconsider the design. Definitely. -- Jukka Lahtinen
[toc] | [prev] | [next] | [standalone]
| From | Eric Douglas <e.d.programmer@gmail.com> |
|---|---|
| Date | 2017-12-18 10:52 -0800 |
| Message-ID | <7e9fd02a-c2c3-4d77-bb81-196c4aea6b7e@googlegroups.com> |
| In reply to | #37787 |
On Saturday, December 9, 2017 at 7:48:37 PM UTC-5, Victor Porton wrote: > Circular dependencies between packages are impossible in Java, aren't them? > > -- > Victor Porton - http://portonvictor.org That depends how circular, do you have a specific example where you would do this? Complete circle would mean packageA.ClassA references pacakgeB.classB which references packageA.ClassA. I can't imagine why you would want that. I do have some where packageA.ClassA references packageB.ClassB which references packageA.ClassB. I do build those packages into the same jar. If they're in different jars you would have to keep them in sync so version 2 of one can't look at version 1 of the other but it could work.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web