RFR: 8344148: Add an explicit compiler phase for warning generation

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Nov 14 22:19:21 UTC 2024


On Thu, 14 Nov 2024 22:14:28 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> > FWIW I built a very simple version of that idea:
> > ```shell
> > for i in 1 2 3 4 5; do
> >     echo =========== RUN $i;
> >     make clean
> >     find src -name '*.java' -print | xargs touch
> >     make interim-langtools
> >     time make
> > done
> > ```
> 
> I'm not sure this test is correct. IIUC, `make interim-langtools` builds the compiler sources, but using the compiler in the bootstrap JDK. That explains, I think, why there's absolutely no difference between the two runs?

Ah, ok, you also use `make` which builds the whole thing. That's good then - thanks!

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22088#issuecomment-2477515728


More information about the compiler-dev mailing list