RFR: 8303485: Replacing os.name for operating system customization

David Holmes dholmes at openjdk.org
Fri Mar 10 05:13:17 UTC 2023


On Thu, 9 Mar 2023 17:18:35 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> That would not yield a compile time constant.
>> The TARGET_IS_XXX values must evaluate to compile time constants as evaluated by javac.
>
> Using the naming from the build makes it clearer that there is a dependency between the build names and those in the template.

Don't we have a conditional compilation ability with these template files such that we can just generate true or false depending on the OS?

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

PR: https://git.openjdk.org/jdk/pull/12931


More information about the core-libs-dev mailing list