Skip to content

Conversation

graalvmbot
Copy link
Collaborator

@graalvmbot graalvmbot commented Oct 8, 2024

Whenever the values of fields Services.IS_IN_NATIVE_IMAGE or Services.IS_BUILDING_NATIVE_IMAGE of class jdk.vm.ci.services.Services of the JVMCI module that is used by the image builder is used in code that ends up in a native-image we need to make sure that these fields have the right values for this context. This PR makes sure of that.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 8, 2024
@graalvmbot graalvmbot changed the title [GR-58651] Ensure field IS_IN_NATIVE_IMAGE of hosted jdk.vm.ci.services.Services always returns true if seen by the analysis. [GR-58651] Enforce sane defaults for Services.IS_IN_NATIVE_IMAGE and Services.IS_BUILDING_NATIVE_IMAGE for image-runtime. Oct 8, 2024
@graalvmbot graalvmbot changed the title [GR-58651] Enforce sane defaults for Services.IS_IN_NATIVE_IMAGE and Services.IS_BUILDING_NATIVE_IMAGE for image-runtime. [GR-58651] Enforce sane defaults for Services.{IS_IN_NATIVE_IMAGE, IS_BUILDING_NATIVE_IMAGE} for image-runtime. Oct 8, 2024
@graalvmbot graalvmbot changed the title [GR-58651] Enforce sane defaults for Services.{IS_IN_NATIVE_IMAGE, IS_BUILDING_NATIVE_IMAGE} for image-runtime. [GR-58651] Enforce correct values for Services.IS_[IN|BUILDING]_NATIVE_IMAGE in image-runtime. Oct 8, 2024
@graalvmbot graalvmbot closed this Oct 9, 2024
@graalvmbot graalvmbot merged commit c69a606 into master Oct 9, 2024
13 checks passed
@graalvmbot graalvmbot deleted the paw/GR-58651 branch October 9, 2024 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants