RFR: 8350869: os::stat doesn't follow symlinks on Windows [v4]

Anton Artemov duke at openjdk.org
Tue May 20 11:19:56 UTC 2025


On Tue, 20 May 2025 09:02:20 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Anton Artemov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8350869: Addressed reviewer's comments, added debug output.
>
> test/hotspot/jtreg/runtime/LoadClass/TestSymlinkLoad.java line 54:
> 
>> 52:         destDir = Paths.get(System.getProperty("test.classes"), subPath);
>> 53: 
>> 54:         CompilerUtils.compile(sourceDir, destDir);
> 
> What exactly is this compiling?

It complies java source files found in the source dir (in this case test/hotspot/jtreg/runtime/LoadClass/test-classes) to class files and puts them to the destination directory. There is only one file called Hello.java in the source. It is compiled into Hello.class, which is then loaded by the test.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25233#discussion_r2097696279


More information about the hotspot-runtime-dev mailing list