Java Reference
In-Depth Information
neither has yet been compiled, compiling Newer.java will attempt to com-
pile Older.java as well. With only one dialect this is a feature. But with
the incompatible dialects you will be unable to compile Newer.java until
you have already compiled Older.java under the non- assert dialect. This
complicates your build process because the order in which you compile
things has now become significant.
Of course, the ultimate problem is if Newer.java and Older.java depend
on each other. Now you have a loop you cannot solve without modifying
one source file. Presumably you would upgrade Older.java to use the
new dialect, but if you cannot do so you will have to regress Newer.java
to the older dialect.
Woe betide if you can modify neither.
 
Search WWH ::




Custom Search