aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Resolution of cyclic dependencies by javac