File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Resolution of cyclic dependencies by javac Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Resolution of cyclic dependencies by javac" Watch "Resolution of cyclic dependencies by javac" New topic
Author

Resolution of cyclic dependencies by javac

Ashish Chopra
Ranch Hand

Joined: Nov 30, 2004
Posts: 134
Hi

I am reposting this as it got lost yesterday...

How does the java compiler reslove cyclic dependencies. Suppose I have the following code:



There is a clear cyclic dependency between A & B. How is this taken care of by the java compiler at compile time?

TIA


Quis Custodiet Ipsos Custodes<br /> <br />My blog: <a href="http://www.coherentrambling.blogspot.com" target="_blank" rel="nofollow">http://www.coherentrambling.blogspot.com</a>
Ramakrishna Nalla
Ranch Hand

Joined: Apr 21, 2005
Posts: 61
Good Question... I love this type of Core questions...Thanks..

I think U may be get results what you want,by using -verbose option in compilation time.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Resolution of cyclic dependencies by javac
 
Similar Threads
How the Interface works ?
Break the loop using threads
ClassCircularityError
Is a class subclass of itself?
constructor(pls reply me soon)