I think it's this place in the build where the logs/warning written out to stdout gets put into the generated source file https://github.com/openjdk/jdk/blob/master/make/modules/java.desktop/gensrc/GensrcIcons.gmk#L85 (there are few more places in that same file which have similar calls).

-Jaikiran

On 06/11/23 6:33 pm, Magnus Ihse Bursie wrote:
On 2023-11-03 21:09, Alan Snyder wrote:


On Nov 3, 2023, at 11:54 AM, erik.joels...@oracle.com wrote:

If you change out the toolchain through xcode-select, then you definitely need to reconfigure after. I would expect the configuration to be quite messed up if you don’t..

OK, but I think it is a bug when an error message is inserted into generated code.

Is the message written to stdout instead of stderr?

I agree, this sounds bad and should not happen. Can you give a filename for any such file where it happened? That will help us track down which part of the build that created these files.

/Magnus


Reply via email to