Preferring class files to source files in ClassReader.java
oehrstroem at gmail.com
Thu Nov 14 04:37:52 PST 2013
2013/11/14 Joel Borggren-Franck <joel.franck at oracle.com>
> Thinking out loud here. While I do understand your usecase, don't we
> want the opposite to be the default case? If javac finds a source and a
> class file and the timestamps are suspect isn't the responsible thing to
> do to compile the source again?
This is indeed the responsible thing. However, we are talking about
timestamps inside jars here. Jeremy wants to deal with class+source
inside the jar. I want to deal with class in rt.jar and source outside of
Then you have class+source outside of jar which is the simplest case, ie
use the timestamps.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the compiler-dev