R
Roedy Green
I have been reorganising my entire code base so that dependencies
don't force me to use Java 1.5 when I don't really need it.
I have discovered something that surprised me.
If I delete all the class files in the universe, and compile one class
that references all sorts of other packages, the compile seems
completely happy, but when it comes time to jar to bundle in code from
other packages, the class files are not there yet.
So it looks as if Javac peeked at the source, compiled it enough to
deduce method signatures, but did not leave a class file behind.
I wonder if there is some other explanation for my observations.
I had thought java would automatically recompile and out of date class
files from other packages when it went to check the signatures.
This may explain why it sometimes feels as though my code changes
don't "take" right away. It takes multiple compiles to propagate
them.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
don't force me to use Java 1.5 when I don't really need it.
I have discovered something that surprised me.
If I delete all the class files in the universe, and compile one class
that references all sorts of other packages, the compile seems
completely happy, but when it comes time to jar to bundle in code from
other packages, the class files are not there yet.
So it looks as if Javac peeked at the source, compiled it enough to
deduce method signatures, but did not leave a class file behind.
I wonder if there is some other explanation for my observations.
I had thought java would automatically recompile and out of date class
files from other packages when it went to check the signatures.
This may explain why it sometimes feels as though my code changes
don't "take" right away. It takes multiple compiles to propagate
them.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes