Re: javac --module option and stale classes

2020-07-29 Thread Christian Stein
On Wed, Jul 29, 2020 at 6:41 PM Jonathan Gibbons < jonathan.gibb...@oracle.com> wrote: > > On 7/29/20 5:49 AM, Christian Stein wrote: > > I wonder whether the logic at [1] is a) the sole place that > > controls this feature and b) whether it can be enhanced > > to also prune stale classes from pre

Re: javac --module option and stale classes

2020-07-29 Thread Jonathan Gibbons
On 7/29/20 5:49 AM, Christian Stein wrote: I wonder whether the logic at [1] is a) the sole place that controls this feature and b) whether it can be enhanced to also prune stale classes from previous javac runs. That should be the only place. The minor complication about pruning stale class

javac --module option and stale classes

2020-07-29 Thread Christian Stein
Hi, when using the --module option of javac, the Java source files of a module are automatically added to the list of to be compiled files, checking timestamps. This works as expected as long as existing source files are changed and/or new source files are added. If a Java source file is deleted