Does javac optimize object files (*.class)?
<p>I'm trying to limit changes from a jar file. I introduced a fix on the code, a very small fix in a single file. Javac compiler generates the new .class file and I plan to replace <strong>ONLY</strong> this single file in the jar (we had problems with the build and are unsure if the current build matches the production build).</p>

<p>I'm a C++ pro, but java... not so much. I wouldn't dare to do this in C++ as optimizers inline a lot of stuff from object files and static libs. I'm under the impression I can do this with no great consequences in java.</p>

<p>Any advice?</p>
