THIS_FILE

Erik Joelsson erik.joelsson at oracle.com
Wed Jun 20 23:41:22 UTC 2018


Filed https://bugs.openjdk.java.net/browse/JDK-8205451

/Erik


On 2018-06-20 16:36, Erik Joelsson wrote:
> That certainly looks like a bug. That macro was added to try to get 
> rid of the __FILE__ macro in the source code. Using __FILE__ and 
> __DATE__ makes it hard to achieve fully reproducible builds where we 
> can verify build changes by simply comparing the output files.
>
> /Erik
>
>
> On 2018-06-20 16:30, Martin Buchholz wrote:
>> While exploring the *.cmdline files created by the build (thank you, 
>> those
>> are very helpful!) I noticed that they all contain
>>
>>   -DTHIS_FILE='""'
>>
>> Probably there should be an actual file name there.
>




More information about the build-dev mailing list