Preferring class files to source files in ClassReader.java
Fredrik Öhrström
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
rt.jar.
Then you have class+source outside of jar which is the simplest case, ie
use the timestamps.
//Fredrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20131114/8f9eb4bc/attachment-0001.html
More information about the compiler-dev
mailing list