
24 Feb
2006
24 Feb
'06
7:28 a.m.
Simon Peyton-Jones wrote:
a) compiling recursive groups "all at once"
just for reference, Sun's java compiler seems to do exactly that, see SEARCHING FOR TYPES in http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html Example: have these mutually dependent classes (each in its own file) class A { static B foo () { return new B (); } } class B { static A foo () { return new A (); } } and you call "javac A.java" (or the other) then it compiles both. -- -- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 -- ---- http://www.imn.htwk-leipzig.de/~waldmann/ -------