RFR: 7902847: Class directory of a test case should be always used to compile a library [v9]

Leonid Mesnik lmesnik at openjdk.org
Wed Apr 16 20:45:54 UTC 2025


On Wed, 16 Apr 2025 14:17:34 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fixed typo
>
> src/share/doc/javatest/regtest/tag-spec.html line 256:
> 
>> 254: 
>> 255: <p>In general, classes in library directories are not automatically compiled
>> 256: as part of a compilation command explicitly naming the source files containing
> 
> Where is the "shareLibraries" property defined? I'm expecting to see it defined in the TEST.ROOT or TEST.properties table like "enablePreview", etc.
> 
> Also, I think it should not be plural. It applies to this particular library.
> 
> Maybe I misunderstand.

The flags should  be located in TEST.ROOT or TEST.properties for all libraries that are used by tests. It is not specific for any particular library. 

This flag is requested by @sormuras  to restore original behavior if something goes wrong with new mode.

I would like to keep temporary for a couple of releases and remove if it is not needed.  I don't like to maintain different execution modes if it is not needed.

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

PR Review Comment: https://git.openjdk.org/jtreg/pull/256#discussion_r2047719837


More information about the jtreg-dev mailing list