On passing --date to jrt-fs jar at build time
Alan Bateman
alan.bateman at oracle.com
Fri Mar 28 09:42:56 UTC 2025
On 28/03/2025 09:25, Galder Zamarreno wrote:
> :
>
> However, @Thomas Fitzsimmons <mailto:fitzsim at redhat.com> had a very
> good point to make:
>
> > I also wonder why the test harness is passing |--date
> $SOURCE_DATE_EPOCH|, since the test jars are not distributed, not sure
> why they'd need to be reproducible...
>
> I think his question is valid. Why pass --date for a test jar?
>
I'm not sure what "test harness" and "test jar" means here but just to
say that jrt-fs.jar is in the JDK run-time. When an IDE running on JDK
X needs to build/run a project for target JDK Y then it will use the jrt
file system to access the classes in the target JDK. jrt-fs.jar is the
provider implementation that JDK X will load to do this.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20250328/6c5ce850/attachment.htm>
More information about the build-dev
mailing list